note 41942 rejected from function.session-register by betz
| From: | betz@php.net | Date: | Tue, 27 Apr 2004 10:12:26 +0000 |
| Subject: | note 41942 rejected from function.session-register by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68861@lists.php.net to get a copy of this message | ||
Note Submitter: pentek_imre@mailbox.hu
----
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?