-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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 ?
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".
How about Jimmy solution here http://forum.zkoss.org/question/71498/how-to-warn-the-user-before-session-timeout/
One more from stackoverflow
Asked: 2019-05-09 13:06:03 +0800
Seen: 12 times
Last updated: May 09 '19