
Set up session.use_cookies
By: a guest on
Apr 15th, 2012 | syntax:
None | size: 0.75 KB | hits: 14 | expires: Never
Set up session.use_cookies
I am writing PHP code where I want to pass the session id myself using POST.
I don't want a cookie to store the session, as it should get lost when the user gets out of the POST cycle.
PHP automatically sets the cookie where available.
I learned it is possible to change this behaviour by setting
session.use_cookies to 0 in php.ini.
More on Set up session.use_cookies
---------------------------------------------------
http://adf.ly/6agfq
---------------------------------------------------
Set up session.use_cookies
Tags: session.use_cookies, session.use_cookies='0'; , isset($_COOKIE, session_id($sessionid);
session_start(); , 'sessionid' , $_POST
Set up session.use_cookies