SESSION_ID ()
I'm working on a Web page.
Save the value of session_id () in a cookie.
The value of session_id () is then removed from the cookie when it is used.
Re-place the value of session_id () in the session_id () function.
The value of the variable in this session is then found.
But session_id ($_cookie[name]) can not use AH.
What to do?
------Solution--------------------
session_id ($_cookie[name])? Why are you writing this?
------Solution--------------------
Hello landlord, your side to determine $_cookie[name] whether there is a value, there is session_id ($_cookie[name]) $_cookie[name] is the "test" this string form exists.
------Solution--------------------
Session cross-domain processing?
------Solution--------------------
I think you have a big round. Directly with $_session[' name '] = xxxxx settings, $_session[' name '] get it?
------Solution--------------------
PHP defaults to save SessionID in Phpsessid name in cookie
If you need to handle it yourself, session_id ($id) needs to be executed before session_start ()
------Solution--------------------
Session_Start (); Open first
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service