0

browser or tab close listner?

asked 2014-12-18 02:13:40 +0800

suresh89 gravatar image suresh89
1

i'm using zk7.0.2 what my doubt is i want to maintain the login and logout history in db table, in the button click event i can insert but when the browser close or tab close i canot insert the logout time...

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-18 08:40:00 +0800

Darksu gravatar image Darksu
1991 1 4

Hello suresh89,

You can find a very good tutorial on how to handle a session/desktop cleanup at the following url:

http://ben-bai.blogspot.gr/2012/12/initcleanup-sessiondesktop-in-zk.html

Keep in mind that you may have to make some small modifications for it to work based on your requirements.

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-12-18 02:13:40 +0800

Seen: 11 times

Last updated: Dec 18 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More