P
Philipp Schumann
In one of my web developments, the Application_End event occurs several
times while a user browses the pages. Because I make use of extensive
session tracking and also provide a couple of services that need the session
state, that is highly problematic as the sessions are abandoned when the
application ends. I have observed this behaviour for quite a while now,
locally as well as on the web, so it must be due to some of my code.
Is there any documentation around what exactly causes the ASPX application
to be restarted, other than a server re-start? Has anyone experienced
similar problems, or otherwise any kind of clue that might help? I've had a
hint from someone, saying that "rather critical errors" could provoke such
behaviour. However, detailed information (as to what kind of error) would be
good as I have no idea what in my code that could be, nor when it started to
behave like it.
Additional info:
Read-Write-Access MDB database
Read-Write Access in a couple of directories
Temporary image files are generated on each request
Although this seems to be a code-related error, I can report that the
Application_Error event does not occur.
I'm looking forward to hearing your ideas.
Best,
Philipp Schumann
times while a user browses the pages. Because I make use of extensive
session tracking and also provide a couple of services that need the session
state, that is highly problematic as the sessions are abandoned when the
application ends. I have observed this behaviour for quite a while now,
locally as well as on the web, so it must be due to some of my code.
Is there any documentation around what exactly causes the ASPX application
to be restarted, other than a server re-start? Has anyone experienced
similar problems, or otherwise any kind of clue that might help? I've had a
hint from someone, saying that "rather critical errors" could provoke such
behaviour. However, detailed information (as to what kind of error) would be
good as I have no idea what in my code that could be, nor when it started to
behave like it.
Additional info:
Read-Write-Access MDB database
Read-Write Access in a couple of directories
Temporary image files are generated on each request
Although this seems to be a code-related error, I can report that the
Application_Error event does not occur.
I'm looking forward to hearing your ideas.
Best,
Philipp Schumann