[Experience] project after the session expires pop-up login window can not log how to do

Background: When the session expires, according to the design of the system, will automatically jump to the login page, re-registration operation

Question: Since entering the home page, other pages are embedded in the page template, so when the login page is embedded in the index template, then re-enter the account password, then click the login button has no effect, if you want to to re-login page, you need to press F5 to refresh the page, re-enter the login page beginning, then enter the account password to log in successfully.

 

But this way, then, one session expired, automatically jump function log has become a decoration, and secondly, the user experience is not very friendly, so we need to jump to the login page to log in to achieve functional failure after session Although this time I have thought about using the heartbeat mechanism or other means to periodically refresh the page to ensure the session does not expire, but if you do, it seems like there will be any problem [  dig a hole, to solve this problem, it seems not so important , but it seems very important  ]

 

 

In fact, this problem is solved after the session expires jump to the login page when perform a page refresh can solve the problem.

Guess you like

Origin www.cnblogs.com/unityworld/p/10931091.html