ASP Session state not stored on some clients
-
I have a small website that uses ASP session variables to store a userid/username after login. Everything seems to work fine on most clients, except for a Windows 2000 Server machine. The session does not seem to be maintained at all. I added the following code to the main page, and every time I refresh the page, the sessionID increases, which it shouldn't do:
response.write session.sessionid
I have checked cookies, security settings and everything else I can think of, but it still doesn't work. Another computer in the same office (behind the same firewall/router) doesn't have any problem with the site. It seems to be only this site that has a problem. It is running on IIS 4.0 on NT Server 4.0 SP6. Session state is enabled, or else it wouldn't work on any computer ;) Also, it seems as though this[^] person is having the same problem, but since I'm not a member, I can't see the answer :sigh: Does anyone know what the problem could be? On a (possibly) unrelated note, I have noticed that GIF animations don't work on this computer either - even though they are enabled in the options. Thanks :) -
I have a small website that uses ASP session variables to store a userid/username after login. Everything seems to work fine on most clients, except for a Windows 2000 Server machine. The session does not seem to be maintained at all. I added the following code to the main page, and every time I refresh the page, the sessionID increases, which it shouldn't do:
response.write session.sessionid
I have checked cookies, security settings and everything else I can think of, but it still doesn't work. Another computer in the same office (behind the same firewall/router) doesn't have any problem with the site. It seems to be only this site that has a problem. It is running on IIS 4.0 on NT Server 4.0 SP6. Session state is enabled, or else it wouldn't work on any computer ;) Also, it seems as though this[^] person is having the same problem, but since I'm not a member, I can't see the answer :sigh: Does anyone know what the problem could be? On a (possibly) unrelated note, I have noticed that GIF animations don't work on this computer either - even though they are enabled in the options. Thanks :)Make sure the client does not have anything blocking cookies. IE, for example, needs to be set on 'low' in Tools...Internet settings....Privacy. Make sure there is no firewall (specifically ZoneAlarm) blocking them too. I've seen IE do the non-animating gif thing too. Eventually my gifs came back to life in Internet Explorer, and I don't know why they went 'dead' for a long time. Odd. Anyway, there is an animation counter inside animated gifs. Try setting them to some extrememly high value. Budsy
-
Make sure the client does not have anything blocking cookies. IE, for example, needs to be set on 'low' in Tools...Internet settings....Privacy. Make sure there is no firewall (specifically ZoneAlarm) blocking them too. I've seen IE do the non-animating gif thing too. Eventually my gifs came back to life in Internet Explorer, and I don't know why they went 'dead' for a long time. Odd. Anyway, there is an animation counter inside animated gifs. Try setting them to some extrememly high value. Budsy
Thanks for the reply! Turns out it was ZoneAlarm - when I installed it, I chose the 14 day ZA Pro trial and when it expired I just reverted back to the regular free version. Somehow, my site got set to not accept session cookies, and since I was now running the free version, there was no way in the UI to re-enable it! I uninstalled/reinstalled and everything's working fine now :) I probably should have figured it was something like this, but ZA is so quiet now, that I just forgot about it. :doh: