PDA

View Full Version : Cookies problem on 1 computer


bostjank
09-28-2002, 10:29 AM
Hi!

I have created an intranet site in ASP. I use cookies in order to save some settings. Everything is ok, except on 1 computer, here cookies cannot be saved.

This particular computer runs Windows 2000 Professional and has IE 6 installed. I have checked the setting of IE - privacy is set to Medium and advanced setting are set to accept all cookies (yet, this is intranet, not internet zone).

I have heard of the problems that occur if the server name has "_" in it, but the strange thing is that the problem occurs only on one computer (although all computers run the same operating system and have same security settings),

I use this script to write/read cookies:
<%
Response.Cookies("settings")("color") = ...
Response.Cookies("settings").Expires = Date + 1

varColor = Request.Cookies("settings")("color")
%>

Hope you can help,
Rok

head8k
09-28-2002, 11:54 AM
Just a thought but maybe the local date on this computer is set incorrectly so that it thinks the cookie has expired when in actual fact it has not.