Log in again after the token expires in a pop-up box on the current page

question: the expiration time of 1.token is 20 minutes. We require a regular refresh of token in 15 minutes. When the
2.token expires, the pop-up box pops up on the current operation page, and the contents of the pop-up box are re-logged in to get the new token. After the login is successful, the pop-up box closes and is still on the current operation page.
has a boss ever done a pop-up box instead of jumping to the login page when token expires? Solve

Dec.27,2021
The principle of

is not the same, except that if you expire when testing token, instead of redirecting it, you will change it to a pop-up window.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b367fd-2c020.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b367fd-2c020.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?