473,404 Members | 2,170 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,404 software developers and data experts.

Application_End() and Session_End () never execute ??

Hi,

I entered some logging-stuff in global.asax :
namely in Application_Start(), Application_End(), Session_Start() , etc
....

When I start the ASP.NET app from within Visual Studio does it Log very
nicely
Application_Start,
Application_BeginRequest ,
Session_Start,
Application_EndRequest

Refreshing the page in the browser :

Application_BeginRequest ,
Application_EndRequest

Starting a second browser (while the first browser is still open) :
Application_BeginRequest ,
Session_Start,
Application_EndRequest
==> so NO Application_Start() --> OK

but then ... closing the first browser --> no logging at all
==> so NO Session_End ???
closing the second browser --> no logging neither
==> so NO Session_End ??? NOR Application_End() ???

how come ?

starting a browser again :
Application_BeginRequest ,
Session_Start,
Application_EndRequest

==> NO Application_Start ???

does it mean that the app is still active in the background ?

thnx

Chris
Nov 18 '05 #1
0 1069

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pedro Duque | last post by:
I've created a .net web service in c#. When there is no open session i need to free some resources. So, I've place the code on the Global.Application_End member. Unffortunatly it seems that the...
2
by: Craig | last post by:
Hi, I'm having difficulty understanding how the Application_End event in the Global.asax file gets called. I thought that it's called when the specific web site is stopped via the IIS management...
3
by: Jim Owen | last post by:
My .Net book states that the Application_End event handler in Global.asax gets called typically about 20 minutes after the last HTTP request. My question is: what is the best way to debug my...
7
by: Imran | last post by:
Hi.., I tried to execute some code in the Sub Session_End in the Global.asax, but its not working. I am developing the asp.net application on Windows Server 2003 and IIS6. Tell me whats the...
4
by: Vlad Hrybok | last post by:
I am using Application_End to send out a notification about application being unloaded. I found that those notifications are not being sent because the app seems to get unloaded without...
4
by: AGB | last post by:
Hi all, Can't seem to determine if the Application_End is gaurenteed to run. I have some cleanup code there but it doesn't execute if I close my browser and am the last session. ???
5
by: Lars Netzel | last post by:
In Global asax the Session_End Sub fires off every now and then. I only want it to fire when I call Session.Abandon() but it fires off totally randon when just suring around in my ASP.NET solution....
4
by: J-T | last post by:
I have my applciation installed in an appplication pool (a worker process) -IIS 6.0-which is defined to be shut down after 20 minutes of being idle.If I put a breakpoint in Application_End method...
5
by: Tenacious | last post by:
I am trying to shutdown a database server in the Application_End event handler on the Global.asax page. So far I am trying this only on the development server that comes with Visual Studio 2005....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.