473,466 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Urgent help pls.Session_onend does'nt fire



Hi ,

am storing the session id in my database when the user signs in.The
session_on start is firing nice & am doing my DB operations there &
quite working good.

But when the user closes the web browser(by clicking the x button)
suddenly , i need to delete the particular session id from my DB.But the
session_onend doesn't fire.

Could u pls how to tackle this situation.

OR pls tell me how to get the all active sessions that my asp.net
maintains.

Thanks & Regards
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #1
2 1199
Raghu Raman wrote:
Hi ,

am storing the session id in my database when the user signs in.The
session_on start is firing nice & am doing my DB operations there &
quite working good.

But when the user closes the web browser(by clicking the x button)
suddenly , i need to delete the particular session id from my DB.But
the session_onend doesn't fire.

Could u pls how to tackle this situation.

OR pls tell me how to get the all active sessions that my asp.net
maintains.

Thanks & Regards
Raghu


Note: Session_End does NOT fire when the user closes his/her browser!
There is no (reliable) way to detect "closing a browser" or "navigating away".

The session ends (default) 20 minutes after the last request from that browser
has been served, whether that browser still displays the served page or not.

Hans Kesting
Nov 19 '05 #2

But friend, could u pls tell me any way to list all teh active sessions
id, my app uses.
Regards
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #3

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

Similar topics

23
by: ian justice | last post by:
Before i post actual code, as i need a speedyish reply. Can i first ask if anyone knows off the top of their head, if there is a likely obvious cause to the following problem. For the moment i've...
10
by: Nick L | last post by:
I'm working on a function which creates a pointers to an array of unsigned ints based off a number read from a file. I then continue to read file names from the file, convert the name to a char*...
2
by: lotus | last post by:
HI All.. I'm realtively new to C#. I have MainForm which includes Parent usercontol, and this parent usercontrol also contains child usercontrol. MainForm --> Parent usercontrol --> child...
3
by: suvarna1026 | last post by:
Hi,I got traped about an unknown error. I have made HttpUpload Component(OCX) in VB6.0.It is working fine only when I give break point in my application(I mean I can upload file on server only when...
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.