This post was last edited by Lghyt on 2013-12-11 20:45:15
SESSIN_ID () and Sid come out of the result is not the same?
PHP has a lot of predefined constants, such as __file__, and checking the manual SID is one of them.
The manual explains the following:
SID (String)
A constant containing the session name and the session ID, in the form "Name=id", or an empty string if the session ID is already set in the appropriate session cookie. This and session_id () return the same ID.
But after seeing it, I couldn't understand it. That is constant then it can print out, I printed with echo SID, the result is SID,
This is not a string!
What is the point of such a constant?
Reply to discussion (solution)
Oh, understand, the original is one thing, a poem for proof
1970 01 01 00:00:00
f0490a5095e1fad9e357241097ecd310
Back to phpsessid=f0490a5095e1fad9e357241097ecd310
The province is divided.