note 47946 deleted from function.session-regenerate-id by betz
| From: | betz@php.net | Date: | Tue, 07 Dec 2004 06:35:38 +0000 |
| Subject: | note 47946 deleted from function.session-regenerate-id by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81473@lists.php.net to get a copy of this message | ||
Note Submitter: post at jockelhofmann dot de
----
Id ran into troubles trying the proposition of timo at frenay dot net, for I use a non-standard name
for the session-ID. It just took some time to find out and you might even think there's no
problem at all, but there ist.
Just replace the line
setcookie('PHPSESSID', session_id(), NULL, '/');
with
setcookie(session_name(), session_id(), NULL, '/');
and your choice of your session-name does not matter at all.
:-) Jockel
----
Reason: useless note