note 51286 added to function.session-start

From: Date: Fri, 25 Mar 2005 23:35:36 +0000
Subject: note 51286 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-86995@lists.php.net to get a copy of this message
I tried this code: <? session_name("some.thing"); session_set_cookie_params(0, "/", "woodstock.homelinux.com"); session_start(); setcookie("some.thing", session_id()); ?> And it didn't work. Maybe cooki names can't conain a dot, or something. After I removed the dot from the session name and the cookie name, it started to work well... ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51286 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51286&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51286&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51286&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51286&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51286&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51286&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86995) next »