469,920 Members | 2,294 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,920 developers. It's quick & easy.

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

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
Nov 18 '05 #1
2 3207
You browser does not except cookies?

"Jeanne Louw" <je*********@mailbox.co.za> wrote in message
news:95**************************@posting.google.c om...
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

Nov 18 '05 #2
I have a full discourse on why this is happening at the following link.
http://tinyurl.com/2t7gq

--
Regards,
Alvin Bruney
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Jeanne Louw" <je*********@mailbox.co.za> wrote in message
news:95**************************@posting.google.c om...
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

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Phil Lamey | last post: by
5 posts views Thread by Victor Jones | last post: by
reply views Thread by Tim::.. | last post: by
9 posts views Thread by tshad | last post: by
1 post views Thread by Fernando Arámburu | last post: by
reply views Thread by Rick Hein | last post: by
19 posts views Thread by furiousmojo | last post: by
3 posts views Thread by thomson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.