note 51286 deleted from function.session-start by nlopess
| From: | nlopess@php.net | Date: | Sat, 26 Mar 2005 10:05:54 +0000 |
| Subject: | note 51286 deleted from function.session-start by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-87014@lists.php.net to get a copy of this message | ||
Note Submitter: W00d5t0ck
----
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...