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

Capture Session.Abandon Event?

CK
Hi All,
How would I write an event to trap the Session.Abandon() method? We are
getting a strange bug that closes the session. I put a breakpoint in
Session_End and I see it's being fired. I am trying to see what's making
this happen. I have read that Session.Abandon() calls that event. I am
trying to see what calling Session.Abandon(). Any ideas how I can do that?
All feedback is appreciated.
TIA,
~CK
Jun 29 '06 #1
1 1589
have a look at your event log to see if the application pool is being
recycled. Also, if you are hitting a break point, then just look at the call
stack to see what is upstream. Here's an article to help you:
http://support.microsoft.com/default...b;en-us;555082

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"CK" <c_**********@hotmail.com> wrote in message
news:GO********************@newssvr29.news.prodigy .net...
Hi All,
How would I write an event to trap the Session.Abandon() method? We are
getting a strange bug that closes the session. I put a breakpoint in
Session_End and I see it's being fired. I am trying to see what's making
this happen. I have read that Session.Abandon() calls that event. I am
trying to see what calling Session.Abandon(). Any ideas how I can do that?
All feedback is appreciated.
TIA,
~CK

Jun 30 '06 #2

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

Similar topics

4
by: Rafael Chemtob | last post by:
Hi, I'm using session cookies on my web app and it looks like the session is not being killed when the user closes the browser. We use a Global.asa file on our app. Do we have to explicitly...
2
by: Kian Goh | last post by:
Hi there, Just wonder what factor actually determine a session to end? What happen a user close the browser or switch to other website? Does the session end immediately or 20 minutes later?...
5
by: Raghu Raman | last post by:
HI, am using a simple project in asp.net using c#. if i put the break point in the application start & session start event , they are firing good .BUT WHEN i close my project while running on...
10
by: Li Pang | last post by:
Hi, I created a html page from which I give a link to another web site. The new site is opened in a new window. When I opened multiple windows, they all have the same SessionID. I want ot know...
5
by: news.microsoft.com | last post by:
We are logging many events on our application but cant seem to discover how to determine who the user was in the session end event, as any session storage seems to have disapeared at the point at...
6
by: Bhagya | last post by:
Hello, On the LogOut Page i have done Session.Abandon(); And on every Page, In the Page_Load Event i check if the session exists and only then display data. Now the problem is after i logout from...
2
by: mharness | last post by:
Hello, I'm working on an approach to systematically and automatically log users on and off an app that precludes users from sharing usernames and passwords. I have most of that working except...
13
by: Laurahn | last post by:
How can i configure my application for closing the session ? How can i use the session end for closing the session ?
16
by: Jonathan Wood | last post by:
Greetings, I was wondering if anyone here has a good understaning of the Session object. I know there are options like the Session.Abandon method and the regenerateExpiredSessionId setting,...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.