By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,953 Members | 1,505 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,953 IT Pros & Developers. It's quick & easy.

cookie problem when local time behind iis server

P: n/a
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

I'm running the latest version of IE. The only other thing I can think of is
that I'm using a mixed & asp environment. The login page is
(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.
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.