Does PHP session_name(name) sets the cookie name? [closed]
That is name
in setcookie(name,...)
is the same thing we pass to session_name(name)
?
Yes. From the documentation.
The session name references the name of the session, which is used in cookies and URLs (e.g. PHPSESSID).
精彩评论