473,387 Members | 1,641 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,387 software developers and data experts.

does Session_End event fire when the worker process recycles?

Hi,

When asp.net worker process or application pool recycles, is it guaranteed
that the Session_End event fires for all active sessions? [BTW, I'm using In-
Proc session mode, Win2003 server and IIS6.0]

Any help is greatly appreciated.

Thanks in advance.
Srivalli.
--
Message posted via http://www.dotnetmonster.com
Nov 19 '05 #1
1 1289
No It doesnt. You can test this by doing 20 mins nothing on the site. If
you have left the defaults than the process will be recycled I think.
And session_end isn't called.

Let me know if you have any more questions..

Cheers,
Tom Pester
Hi,

When asp.net worker process or application pool recycles, is it
guaranteed that the Session_End event fires for all active sessions?
[BTW, I'm using In- Proc session mode, Win2003 server and IIS6.0]

Any help is greatly appreciated.

Thanks in advance.
Srivalli.

Nov 19 '05 #2

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

Similar topics

3
by: Mark Field | last post by:
Assuming that IIS is not restared, and that the web server is not restarted, should the "session_end" event in the global file ALWAYS fire or will there be times when it will not fire? protected...
8
by: karahan celikel | last post by:
I realized that when SqlServer mode is used for session management Session_End event is not fired in global.asax. What can I do if I want to do something when a user's session end? Thanks
8
by: howard39 | last post by:
When SQL Server 2003 is *not* configured in IIS5 isolation mode, is it true that the Session_End event can not be depended on? If so, what is a good way to clean up unmanaged resources that were...
3
by: Marcel van den Hof | last post by:
Dear all, Is there any way to prevent the ASP.NET worker process from recycling the worker process when a thread is being executed on the foreground (IsBackground=false). I'd also like to...
11
by: OldProgrammer | last post by:
All the documentation and discussion I have read indicate that the Session_End is not supposed to fire unless you are in "inProc" Session state mode, and then only on Session Timeout or at Session...
6
by: Tony | last post by:
I can't seem to get the session_end event to work? I've tried to update databases in it and response.redirect to someplace else. Nothing works. I load page and leave it for 60 minutes and I know...
1
by: Ghost Rider | last post by:
Hye guys, I am using VS2005 with C# as a backend. The problem is that Session_End is not getting fired in normal run. While in Debug after the session time out it does work well. I writing to a...
5
by: Ron J | last post by:
I would like to keep track of users when they are 'on'. On Session_Start I can write a DB record about them, but there does not seem to be session variable information during the Session_end event...
1
by: anithaapr05 | last post by:
After the session end i try to write the session value.In this, it write the session value after the session end, but i got the warning in application event. My asp code: void...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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:
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
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...

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.