Session not reinitialized after timeout?

I have this classic ASP site that works great until we update it. It was just a site update, meaning the .asp files that worked fine in our test environment, no service packs or patches. I cannot reproduce the error at all on a test site on the same server.

The system it runs on is IIS6 on a 2003 server.

Somehow now it started to behave strangely when the user revisits the site with the old session cookie, which makes the site not run Session_OnStart () again.

Since the session is long gone, it leaves me with an empty Session () - an area that breaks a lot of code on the site.

I've never seen this before, so would I assume that visiting a site with an old session cookie would restart Session_OnStart?

+1


source to share


1 answer


It seems that our update, which was a cache functionality that was storing data in the application scope, somehow broke session processing.

Despite the fact that the information about the memory boundaries for the application area and session always says that it depends on resources, somehow using a lot of memory in the application area, something breaks.



We are talking about 100-200 MB of data when I store it in files, instead the problem seems to go away silently. Leaving this answer for future reference in cases like this.

0


source







All Articles