Click here to Skip to main content
15,883,989 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi ,
I Have One Testmaster.master page and i added one content page to that master Page Demo.aspx Page on Browser close (X) Symbol i want to perform some operation ,and i want execute few statements of server side .what should i do for that , I Can do with in body Tag In Normal Pages after adding master Page am not able to see body tag and what was the replacement of body tag in Content Page
please let me inform
Thanks in Advance .
Posted
Updated 26-Aug-15 20:43pm
Comments
Arasappan 27-Aug-15 2:56am    
how did u add the master page

1 solution

The server has no idea you have closed the browser so you can't do this. The best you can do is use the Session End event which fires when the user times out (which they will eventually do if they stop viewing your site) but that's not very reliable.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900