note 41942 added to function.session-register
| From: | pentek_imre at mailbox dot hu | Date: | Tue, 27 Apr 2004 09:18:46 +0000 |
| Subject: | note 41942 added to function.session-register | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68856@lists.php.net to get a copy of this message | ||
As a reply to note sent at 05-Feb-2004 10:19:
I replaced the corresponding codes with isset($_SESSION['foo']) and
$_SESSION['foo'] It works correctly. But I have a little problem. It sometimes attaches a
session id to the URI correctly like
http://.../index.php?PHPSESSID=00d93e2fa694bd1cda07
but sometimes it attaches only a '?' like: http://.../index.php?
The php code works correctly, but it is very ugly. Are there any way to hide that one extra
character if there are no SID attached to the URI?
----
Manual Page -- http://www.php.net/manual/en/function.session-register.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41942
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41942&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41942&report=yes
Search -- http://master.php.net/manage/user-notes.php