|
by: Christophe Lance |
last post by:
Hello,
I use PHP session cookie to store an id number.
I know how to set a cookie expiration date using the setcookie function, but
how to set an expiration date when the cookie is created by the
session_start function ?
I know the cookie expires after the session ends, but when I look at my HTTP
headers, the cookie's expiration date created by the session is set to 19
|
by: Mario Hébert |
last post by:
I have a simple C# object(class) that I reference in a <OBJECT
classid="mydll.dll#nmsp.Ctrl"> tag of an HTML page generated by ASP.net.
In a case where the Enable content expiration isn't checked for my website,
i can call a public method of the object via javascript and it's working.
When the Enable content expiration(immediately) is effective for my website,
i always have a javascript error telling me that the object or the method...
|
by: Oleg Leikin |
last post by:
Hi,
(newbie question)
I've created some simple .NET ASP application that should store cookies at the client machine.
According to the documentation cookie expiration time is set via HttpCookie.Expires property, but property value is the time of day on the client.
How can I possibly know client local time ?
|
by: Bill Borg |
last post by:
Hello all,
I am working on forms authentication and trying to understand: what's the
relationship between the cookie expiration and the ticket expiration? I
create a cookie and I add an encrypted ticket to it. Both of these have an
expiration date, but I'm not seeing how to use them. Does it make sense that
these dates would ever differ?
Thanks,
|
by: Jeff Bowman |
last post by:
Here's the code:
Private Sub SetCookie(ByVal tcEmail As String)
Dim loCookie As New HttpCookie("Email")
loCookie.Value = Utils.StringToBase64(tcEmail)
loCookie.Expires = Now.AddYears(10)
Response.Cookies.Add(loCookie)
End Sub
The cookie appears to accept the specified expiration date (i.e. #7/13/2015
|
|
by: Diffident |
last post by:
Hello All,
I cached a string object into Cache and set absolute expiration date. Now, I
would like to retrieve the absolute expiration date of that object. Any API's
available?
Any pointers?
Thank you!!
|
by: Mike Reed |
last post by:
I must be having a "senile" day! I cannot recall, nor get to work, code
to read a cookie's expiration date/time in an ASP page/VBScript.
What am I missing?
*** Sent via Developersdex http://www.developersdex.com ***
|
by: Mike9900 |
last post by:
Hello,
I would like to store application expiration date in a file and store that
file in a secure place, so the application can access the file for all the
users on that computer.
IsolatedStorage is a good technique but it is for the each user only and is
not machine level. Registry is not good because the user may not have access
permission. Application directory is not good because the file could be
deleted and so the...
|
by: dave |
last post by:
I need to compute an expiration date based on the number of hours,
days, or months purchased.
The expiration date needs to be expressed in minutes something like
'1260481600'.
How can I get the current date and time expressed in minutes?
Once I have this number I can add the number of minutes purchased to
the current date/time to get the expiration date.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|