-
FEATURED COMPONENTS
First time here? Check out the FAQ!
After session time out, is it possible to redirect to another page to ask the password again.
Example look at this page
https://demos.creative-tim.com/light-bootstrap-dashboard-pro/examples/pages/lock.html
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
I think you could use
<session-config>
<device-type>ajax</device-type>
<timeout-uri>/login.zul</timeout-uri>
</session-config>
in zk.xml
like is shown here
Asked: 2018-09-04 16:15:18 +0800
Seen: 14 times
Last updated: Sep 13 '18