Forum Moderators: open

Message Too Old, No Replies

ASP Session is resetting

         

mattglet

2:02 am on Apr 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a site that all of the sudden will not keep a session. It's on a shared host, Windows 2k3, using ASP. Every so often (like, every 20 seconds or so, but never the same amount of time), the Session.SessionID resets, along with the Application object. I checked the raw logs, but it doesn't show any IIS resets.

Since the site is based on sessions, this is obviously a huge problem. No major code has been changed recently to make this happen. Has anyone ever heard of this, or have a fix? I've heard stuff about the application pool possibly being full/messed up? Any insight?

Easy_Coder

2:06 am on Apr 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



matt is someone else firing iisstop and iisreset commands on your shared box?

You checked for coookie support on the client too; right?

Edit: Oh, and check with the host to make sure someone didn't turn off session support on your site.

mattglet

2:13 am on Apr 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I can't imagine that someone is doing the iisreset, as it's happening ALL the time, and sometimes within very short intervals.

The client is me, and I support cookies. I've had other people test the site, with the same bad results.

This pretty much sums it up nicely:
[groups-beta.google.com...]

I've placed a support ticket to the host, will wait to see what they say.

Any other ideas?

mattglet

1:06 pm on Apr 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The applied the setting as mentioned in the Google Groups link above, and all seems to be well.

Not sure if they installed Win2k3 SP1, or what the reason was that this suddenly happened...

dataguy

1:36 pm on Apr 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I had a similar problem a few months ago. Turned out my ISP was playing with Application Pool settings and the site app pool was recycling every minute or so. I'm not sure which setting was causing the problem, but they reset it to the default settings and that took care of the problem.