tiamat2012
Programmer
Hey everyone,
I've encountered a problem that I'm supposed to have a 3 day cookie expiration for someone to login to a secure section of a website (using ssl)
The code I'm using to set the expiration is
I've tried many other things, and found that they all die when the session ends (which happens when you don't set the expiration date).
I should note that this code is above all the actual writing and requesting Cookies.
When I found this a problem, I saw reference saying Cookies and SSL don't work together because Cookies are a security leak, which I can believe to be true as I have a very simple Firefox tool that grabs all the cookies from a page for me. Is there anyway to make it work?
Sincerely,
Kerry
I've encountered a problem that I'm supposed to have a 3 day cookie expiration for someone to login to a secure section of a website (using ssl)
The code I'm using to set the expiration is
Code:
dim dexpire
dexpire = DateAdd("d",3,Now())
Response.Cookies.Expires=dezpire
I've tried many other things, and found that they all die when the session ends (which happens when you don't set the expiration date).
I should note that this code is above all the actual writing and requesting Cookies.
When I found this a problem, I saw reference saying Cookies and SSL don't work together because Cookies are a security leak, which I can believe to be true as I have a very simple Firefox tool that grabs all the cookies from a page for me. Is there anyway to make it work?
Sincerely,
Kerry