note 22458 added to function.session-set-cookie-params

From: Date: Wed, 19 Jun 2002 01:19:40 +0000
Subject: note 22458 added to function.session-set-cookie-params
Groups: php.notes 
Request: Send a blank email to php-notes+get-31996@lists.php.net to get a copy of this message
when setting the path that the cookie is valid for, always remember to have that trailing '/'. CORRECT: session_set_cookie_params (0, '/yourpath/'); INCORRECT: session_set_cookie_params (0, '/yourpath'); no comment on how long it took me to realize that this was the cause of my authentication/session problems... -- http://www.php.net/manual/en/function.session-set-cookie-params.php http://master.php.net/manage/user-notes.php?action=edit+22458 http://master.php.net/manage/user-notes.php?action=delete+22458 http://master.php.net/manage/user-notes.php?action=reject+22458

« previous php.notes (#31996) next »