Pc management system, expired re-login is generally how to achieve, kneel to beg

the existing pc background management system wants to add an expired re-login function. Would you like to ask someone who understands it?

personal thought: write a timer? Clear session when due

Mar.22,2021

No, no, no, no, I suggest you check the file first.


this general backend will set a session, and set the expiration time. If the session, front end is cleared after expiration, as long as it is determined that the tooken does not exist, you naturally need to jump to login to log in again


commonly used in multiple forms

  1. time-out session, cleanup is detected on a regular basis.
  2. check whether the currently accessed session, detection timed out, and return.
Menu