Click here to Skip to main content
15,919,931 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: invoke a severside code when clicking browser close buton Pin
Not Active25-Jun-07 3:07
mentorNot Active25-Jun-07 3:07 
GeneralRe: invoke a severside code when clicking browser close buton Pin
Guffa25-Jun-07 5:46
Guffa25-Jun-07 5:46 
GeneralRe: invoke a severside code when clicking browser close buton Pin
Not Active25-Jun-07 5:55
mentorNot Active25-Jun-07 5:55 
GeneralRe: invoke a severside code when clicking browser close buton Pin
badgrs25-Jun-07 6:22
badgrs25-Jun-07 6:22 
GeneralRe: invoke a severside code when clicking browser close buton Pin
Not Active25-Jun-07 7:22
mentorNot Active25-Jun-07 7:22 
AnswerRe: invoke a severside code when clicking browser close buton Pin
Guffa25-Jun-07 7:43
Guffa25-Jun-07 7:43 
GeneralRe: invoke a severside code when clicking browser close buton Pin
Not Active25-Jun-07 8:09
mentorNot Active25-Jun-07 8:09 
GeneralRe: invoke a severside code when clicking browser close buton Pin
badgrs25-Jun-07 8:22
badgrs25-Jun-07 8:22 
I'll have to go back on what I said as closing the browser will run the code, but there are lots of cases where it won't. For instance, using the browsers back and forward buttons don't cause unload events (so if a user goes back a few pages before closing it won't run.....I don't think....), if the user has disconnected from tinternet, if the browser crashes, if you force quit the browser... It also depends on the browser, certainly IE has different ideas about when to call load events than Firefox.

I'm not saying you can't use this method I'm just pointing out that it can't be 100% relied on (as anything client-side can't be)
GeneralRe: invoke a severside code when clicking browser close buton Pin
Not Active25-Jun-07 8:30
mentorNot Active25-Jun-07 8:30 
GeneralRe: invoke a severside code when clicking browser close buton Pin
badgrs25-Jun-07 9:45
badgrs25-Jun-07 9:45 
QuestionHow to inject dynamic content--best practices question Pin
Marc Clifton25-Jun-07 2:13
mvaMarc Clifton25-Jun-07 2:13 
AnswerRe: How to inject dynamic content--best practices question Pin
Tarakeshwar Reddy25-Jun-07 3:03
professionalTarakeshwar Reddy25-Jun-07 3:03 
AnswerRe: How to inject dynamic content--best practices question Pin
martin_hughes25-Jun-07 6:03
martin_hughes25-Jun-07 6:03 
AnswerRe: How to inject dynamic content--best practices question Pin
Rhys Gravell25-Jun-07 8:22
professionalRhys Gravell25-Jun-07 8:22 
QuestionHow to buffer Media Player in asp.net Pin
swapnilbhavsar25-Jun-07 1:51
swapnilbhavsar25-Jun-07 1:51 
QuestionTo split a cell in column (GridView) Pin
codingrocks25-Jun-07 1:35
codingrocks25-Jun-07 1:35 
AnswerRe: To split a cell in column (GridView) Pin
gauthee25-Jun-07 1:47
gauthee25-Jun-07 1:47 
GeneralRe: To split a cell in column (GridView) Pin
codingrocks25-Jun-07 1:49
codingrocks25-Jun-07 1:49 
AnswerRe: To split a cell in column (GridView) Pin
Sebastian T Xavier25-Jun-07 2:28
Sebastian T Xavier25-Jun-07 2:28 
Questionsession time out Pin
Vipin.d25-Jun-07 1:28
Vipin.d25-Jun-07 1:28 
AnswerRe: session time out Pin
gauthee25-Jun-07 1:39
gauthee25-Jun-07 1:39 
GeneralRe: session time out Pin
Vipin.d25-Jun-07 2:18
Vipin.d25-Jun-07 2:18 
QuestionTextbox used for date validation and range validation Pin
Hemant Garg25-Jun-07 1:28
Hemant Garg25-Jun-07 1:28 
Questioninclude file Pin
Sebastian T Xavier25-Jun-07 1:20
Sebastian T Xavier25-Jun-07 1:20 
AnswerRe: include file Pin
badgrs25-Jun-07 1:22
badgrs25-Jun-07 1:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.