CrimsonDiva
Programmer
Hi,
I'm having MAJOR problems expiring my cookies. When a user logs on to our site cookies are created like below:
response.cookies("htc"
("UID"
=4
response.cookies("htc"
.expires = DateAdd("h",4,Now())
When the user tries to log out BEFORE the 4 hours is up, I try to re-set the cookie expiration, but it doesn't work. Cookie still has the expiration date of 4 hours in the future.
response.cookies("htc"
.expires = Date - 1000
Why is this?
I'm having MAJOR problems expiring my cookies. When a user logs on to our site cookies are created like below:
response.cookies("htc"
response.cookies("htc"
When the user tries to log out BEFORE the 4 hours is up, I try to re-set the cookie expiration, but it doesn't work. Cookie still has the expiration date of 4 hours in the future.
response.cookies("htc"
Why is this?