Session Time Out - Notify the user

asked 2019-05-09 13:06:03 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2625 3 8

Currently after the session is expired, there is no way the user knows that visually. If the user start interacting the UI, then he notified that session expired. Is there any way to show a model screen with messages show to the user after the session is expired. Is there any event we can capture on session expire ?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2019-05-09 13:49:37 +0800

cor3000 gravatar image cor3000
5250 2 7
ZK Team

Currently after the session is expired, there is no way the user knows that visually.

Yes there is: automatic-timeout in combination with a timeout-message https://www.zkoss.org/wiki/ZK%20Developer's%20Reference/UI%20Patterns/Session%20Timeout%20Management#Automatic_Timeout

You can also execute custom JavaScript instead of the message. That's what our ZK Demo does, to visualize a timeout to the user and give instructions how to recover "by moving the mouse".

link publish delete flag offensive edit
link publish delete flag offensive edit


what about it?

cor3000 ( 2019-05-09 15:45:39 +0800 )edit

I gave you information about what's available in ZK out of the box... the rest is custom

cor3000 ( 2019-05-09 15:46:23 +0800 )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




Asked: 2019-05-09 13:06:03 +0800

Seen: 10 times

Last updated: May 09 '19

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