Connecting Tech Pros Worldwide Forums | Help | Site Map

cookie problem when local time behind iis server

pwldev
Guest
 
Posts: n/a
#1: Nov 22 '05
Sorry if this isn't a good place for this question.

I have a problem with losing cookie values whenever a user's local machine
date/time is behind the date & time of the IIS machine. The login page sets
some cookie values (using Response.Cookies) and redirects to another page
which then checks for the cookie values. I've noticed that when a user's
local date/time is behind that of the IIS machine, the cookie values are
always empty. I have a test page that shows that the subkey names under the
cookie all still exist but the associated values are empty. If I set my
machine's time ahead of the server & try again, everything works. Is there
anything I can check to help me figure out why they're disappearing? I've
tried setting the cookie expiration far off into the future, etc., with no
success.

I'm running the latest version of IE. The only other thing I can think of is
that I'm using a mixed asp.net & asp environment. The login page is vb.net
(setting the cookie values) and I'm redirecting to a classic asp page
(reading the cookie). This hasn't been a problem except for this strange
client date/time dependency. Thanks for any help.

Closed Thread


Similar .NET Framework bytes