Since internet connections are basically stateless, there is no real effective way to let the server know that the browser is closed.  Depending on what you are trying to accomplish, you might want to look into using onSessionEnd(). 

In an application that we are working on, we hold all of a user's data in a session based object.  We only commit to the database on two scenarios:  a) The user actively hits 'save', or b) onSessionEnd(). 

By using this method, we can do what we need to whether the user saves, closes their browser, or any other end of their session..



On 10/16/06, Ray Hughes <[EMAIL PROTECTED]> wrote:
HI All,

If a user logouts via the logout screen all is fine.

However, if the user justs quits(kills) the browser what happens to the
session variables?
They seems to still exist.

How can one detect that the browser is dead?

Regards

_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with
Live Search!
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline


_______________________________________________
Reply to DFWCFUG:
   [email protected]
Subscribe/Unsubscribe:
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
     http://www.mail-archive.com/list%40list.dfwcfug.org/
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
   www.HostMySite.com
  www.teksystems.com/



--
~Dave Shuck
[EMAIL PROTECTED]
www.daveshuck.com

Where's your Spot?
www.instantspot.com
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/

Reply via email to