471,338 Members | 1,275 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

cookie problem when local time behind iis server

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.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.
Jul 21 '05 #1
0 1379

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by dan glenn | last post: by
5 posts views Thread by AHN | last post: by
6 posts views Thread by David Graham | last post: by
7 posts views Thread by What-a-Tool | last post: by
5 posts views Thread by | last post: by
15 posts views Thread by Oleg Leikin | last post: by
reply views Thread by Laura K | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.