[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Capturing event when user closes browser

Posted on 2006-03-22
5
Medium Priority
?
194 Views
Last Modified: 2010-04-16
Dear friends
   I have developed a web application and i am using some objects within it.i want to make those object empty when user clicks  'X' button of the browser.How can we do this.Please guide me for this issue

Thanks in advance

Dees
0
Comment
Question by:dees
  • 2
3 Comments
 
LVL 8

Expert Comment

by:vinhnl
ID: 16267828
Hi Dees,

I don't know why do you have to empty those objects ? it isn't neccessaire with web application.

If you use variables session or application, you have to set time out for them.
0
 

Author Comment

by:dees
ID: 16268160
Dear Vinhnl
   My application is accessing a remote object i need alter one of its property when user closes the browser
0
 
LVL 8

Accepted Solution

by:
vinhnl earned 500 total points
ID: 16268325
Yes I see, You can see this url, I hope that it can help you : http://www.codeproject.com/csharp/detect_closing_navigator.asp?print=true

Good luck,
VINHNL
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month20 days, 14 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question