Session_id () is a web page. Save the session_id () value in the cookie. Then, the session_id () value is retrieved from the cookie when it is used. Put the session_id () value in the session_id () function again. Then find the value of the variable in this session. However, session_id ($ _ COOKIE [name]) cannot be used. What should I do? ------ Solve session_id ()
I am creating a webpage.
Save the session_id () value in the cookie.
Then, the session_id () value is retrieved from the cookie when it is used.
Put the session_id () value in the session_id () function again.
Then find the value of the variable in this session.
However, session_id ($ _ COOKIE [name]) cannot be used.
What should I do?
------ Solution --------------------
Session_id ($ _ COOKIE [name])? Why?
------ Solution --------------------
Hello, you have determined whether $ _ COOKIE [name] has a value, and also in session_id ($ _ COOKIE [name]). whether the $ _ COOKIE [name] of exists in the string form of "test.
------ Solution --------------------
Session cross-origin processing?
------ Solution --------------------
How do you think you have taken a big round. Set it directly with $ _ SESSION ['name'] = XXXXX. can I retrieve $ _ SESSION ['name?
------ Solution --------------------
By default, php saves the sessionid as the PHPSESSID name in the cookie.
If you need to handle it yourself, session_id ($ id) needs to be executed before session_start ().
------ Solution --------------------
Session_start (); enable