eRad
10-21-2004, 10:51 AM
simple task, strange problem.
i'm trying to use ASP cookies to replace ASP session objects. Wherever i created a session object, i put a Reponse.Cookies("cookiename")="cookievalue" (this was only done once, and it was indeed before the <html> tag)
then to refer to them i do Request.Cookies blah blah
anyway it seems to work just like a session - temporarily. once i close the browser it's lost. and if i look in my cookies folder i don't see any cookies created. What's going on? I tried this both on a localhost and on the server, both dont create cookies.
any ideas?
EDIT: Okay in firefox i can SEE the cookies. But when i close the browser, the one i created disappears. Only the ASPIDSTART one stays.... how do i make a 'permanent' cookie that doesn't go away on browser close?
i'm trying to use ASP cookies to replace ASP session objects. Wherever i created a session object, i put a Reponse.Cookies("cookiename")="cookievalue" (this was only done once, and it was indeed before the <html> tag)
then to refer to them i do Request.Cookies blah blah
anyway it seems to work just like a session - temporarily. once i close the browser it's lost. and if i look in my cookies folder i don't see any cookies created. What's going on? I tried this both on a localhost and on the server, both dont create cookies.
any ideas?
EDIT: Okay in firefox i can SEE the cookies. But when i close the browser, the one i created disappears. Only the ASPIDSTART one stays.... how do i make a 'permanent' cookie that doesn't go away on browser close?