after Session Time out redirect to another page

asked 2018-09-04 16:15:18 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8

After session time out, is it possible to redirect to another page to ask the password again.

Example look at this page


delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-09-13 12:27:37 +0800

cor3000 gravatar image cor3000
6280 2 7
ZK Team

Obviously when the session has timed out the current user information will be lost at server side. So if you only want to ask the user for a password only without having to retype the user name, just set a cookie containing some kind of securely encrypted information. If that cookie value is present and can be decrypted into a valid username the login page can omit the username input field and only ask for the password.

also worth mentioning automatic-timeout element

also explained here: https://www.zkoss.org/wiki/ZKDeveloper'sReference/UIPatterns/SessionTimeoutManagement#AutomaticTimeout

link publish delete flag offensive edit

answered 2018-09-12 18:51:08 +0800

psinalberth gravatar image psinalberth
52 6

updated 2018-09-12 18:53:00 +0800

I think you could use


in zk.xmllike is shown here

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




Asked: 2018-09-04 16:15:18 +0800

Seen: 12 times

Last updated: Sep 13 '18

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