The session is stored in the MySQL data table
The session is stored in the MySQL data table
Session is actually a serialized value. You have put the session into the database. When you take it out, just unserialize() it once. In this way, you can get a session data, which must contain session_id...
But I guess you may not have saved the session-id. You can use this method directly session_id(). The manual address is http://www.php.net/manual/zh/...
Go and study it yourself