www.webdeveloper.com
Results 1 to 3 of 3

Thread: Question about sending javascript event at the end of a session

  1. #1
    Join Date
    Feb 2014
    Posts
    2

    Question about sending javascript event at the end of a session

    Hi, I'd like to fire a javascript event at the end of a user's session

    My question is two part:

    1. How?

    2. More importantly for me right now, how does this work? If this is a client-side event and the client is no longer there (i.e. they close their browser), how does the event get triggered?

    Thank You

  2. #2
    Join Date
    Mar 2009
    Posts
    431
    Check out the "onbeforeunload" event.

  3. #3
    Join Date
    Feb 2014
    Posts
    2

    Thanks

    Thanks ok

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles