note 20797 deleted from ref.session by sniper
| From: | sniper@php.net | Date: | Tue, 21 Jan 2003 03:20:47 +0000 |
| Subject: | note 20797 deleted from ref.session by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42485@lists.php.net to get a copy of this message | ||
If you use session_trans_sid, the sessionid will not be transmitted if you use a meta refres
(echo "<META HTTP-EQUIV=\"Refresh\"
CONTENT=\"3;URL=index.php\">";)
this will forward you to index.php after 3 seconds, but it will not transmit your session id
use this:
echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"3;URL=index.php?PHPSESSID="
.session_id() ."\">";
replace PHPSESSID with your php session name (session_name)