wiilweer Posted January 22, 2012 Share Posted January 22, 2012 Hello, I've problem with jQuery event unLoad() and same story with <body unload="">. When I close tab, event is triggered. When I close entire browser event is not triggered and I can't save user stats. Can anybody give me working hint? Thanks. Quote Link to comment Share on other sites More sharing options...
wiilweer Posted January 22, 2012 Author Share Posted January 22, 2012 Maybe this will give more suggestions: Idea is that when user leaves page user stats are saved. So maybe detect session end or something, but I'm out of ideas. :s Thanks Quote Link to comment Share on other sites More sharing options...
nogray Posted January 23, 2012 Share Posted January 23, 2012 did you try onbeforeunload? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.