Php wants to check how to handle the expiration of session!

I am now using curl HTTP to check the number of databases on the other side

organizer A:
when I give him ac/pw, he will give me a session
I will record
he can also record
but now there is a problem

Container B:
when you log on to the same server again with server B,
the sesison of server A will fail, and the database of the counterparty will update this session
, that is, the invalid session has expired

.

but how do I know that if the session of this server A fails
I will let him jump to the login window?
I"m already dead this time.
can you tell me a way?
because the current session of the database is permanent
I also use my own to buy my own

.

you have to do something after you get the token, such as requesting a link. If the token fails, you will return an invalid error. If you know this error, you will request a new token. But in the final analysis, only one user is allowed to log in, and if you ask for a new one, you will kick out An again.

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-1b38918-4d7c1.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-1b38918-4d7c1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?