Global.asax Application_Start and Session_Start events fires on each page request

J

Jeanne Louw

Hi

Why would this happen? The Application_Start and Session_Start events
fires on each page request on my website.

SessionID stays the same between page requests.
<sessionState mode="InProc" in WebConfig.>
Session state is also not set to readonly in any page directives.

I set a session variable in the Session_Start event that gets changed
by other pages. However, when requesting any page the session
variable's value is back to the value that I coded in the
Session_Start event! When stepping through my code the
Application_Start and Session_Start events are called on every page
request.

Why is this?
Jeanne Louw
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top