473,395 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 3373
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Phil Lamey | last post by:
Hi All, I have the following code but for some reason I cannot get the Session_OnEnd event to fire. I am trying to limit the amount of connections a browser session can have. Where the...
5
by: Victor Jones | last post by:
I had a question about accessing HttpContext.User in global.asax. I was trying to access HttpContext.User in Application_BeginRequest() which had a null value as opposed to containing a valid...
0
by: Tim::.. | last post by:
Hi, Can someone please tell me why I get this error when I try to build my ASP.NET application??? Could not load type 'CPNNet.Global'. Line 1: <%@ Application Codebehind="Global.asax.vb"...
9
by: tshad | last post by:
I have an example I copied from "programming asp.net" (o'reilly) and can't seem to get the Sub (writefile) to execute. It displays all the response.write lines that are called directly, but not...
1
by: Fernando Arámburu | last post by:
Hy everybody, I´m working on an ASP.NET framework and and I need to extend System.Web.HttpApplication. I mean, I need to put some intermediate class between System.Web.HttpApplication and Global...
0
by: Rick Hein | last post by:
I've got a problem with an app I've been working on, the Caching object and events not firing correctly. In a nutshell: When I'm debugging, and I set a breakpoint in the removed item call back, the...
1
by: Stu | last post by:
Hi, Im using vis studio 2003 and I think wse is out of the question as clients could be using java which doesnt support it. So I managed to find some code which allows you to develop a custom...
19
by: furiousmojo | last post by:
This is a strange problem. I have a project where the contents of global.asax application_error are not firing. It is an asp.net 2.0 application using web application projects. I have another...
3
by: thomson | last post by:
Hi All, i do have an website with the URL http://localhost/application/ASEAN-ANZ, Once i hit the application, it goes to the Global.asax. but after that if i tried to change the URL...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.