|
-
Nov 2nd, 2006, 04:02 AM
#1
Thread Starter
Frenzied Member
on closing he browser
i use the Global.asax in my asp.net application
void Session_Start(object sender, EventArgs e)
{
// Code that runs when a new session is started
Session.Abandon();
}
i need this
when the user close the browser or the browser shutdown for any reason
i need to delete his id from my database
i try to use the
void Application_End(object sender, EventArgs e)
or
void Session_End(object sender, EventArgs e)
but when the browser is closed these methods are not active
is there is a way
thx alot
You Don't Have to Rate Me.
I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter : @avrail
010011000111010101110110001000000100110101111001001000000101000001100011 
-
Nov 2nd, 2006, 04:08 AM
#2
Re: on closing he browser
there is one unreliable way but the fact that you need to is almost always a sign of poor design.
-
Nov 2nd, 2006, 05:41 AM
#3
Re: on closing he browser
Not good. I know how to do it with javascript but I don't know if your browser can support that. You keep mentioning all these limitations.
-
Nov 2nd, 2006, 08:13 AM
#4
Thread Starter
Frenzied Member
Re: on closing he browser
ya mendhak
i will do it and when i finsih i will post the answer
thx alot
You Don't Have to Rate Me.
I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter : @avrail
010011000111010101110110001000000100110101111001001000000101000001100011 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|