#16639 [Ana->Csd]: session_tras_sid will not transfer session id with meta refresh
| From: | sas@php.net | Date: | Wed, 25 Sep 2002 11:25:58 +0000 |
| Subject: | #16639 [Ana->Csd]: session_tras_sid will not transfer session id with meta refresh | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20280@lists.php.net to get a copy of this message | ||
ID: 16639
Updated by: sas@php.net
Reported By: andreas.schempp@gmx.ch
-Status: Analyzed
+Status: Closed
Bug Type: Session related
Operating System: Linux 2.4.17 (self compiled)
PHP Version: 4.3.0-dev
New Comment:
I have no intention to support this syntax -- please use other means
such as manual appending (?SID might be enough for your case).
Previous Comments:
------------------------------------------------------------------------
[2002-04-19 20:58:39] sniper@php.net
reclassified as session bug. Adding meta=content to url_rewriter.tags
(as was suggested by Hartmut) does not work as it should..
------------------------------------------------------------------------
[2002-04-17 16:41:40] andreas.schempp@gmx.ch
1.) yes I read about it, but I had some problems (trying manual
session_start). I didn't try it any more.
2.) I don't know what you mean, I'm not a professional with php, I'm
using it since 4 weeks.
maybe you can explaine it..
------------------------------------------------------------------------
[2002-04-17 05:42:52] hholzgra@php.net
1) you know about the SID constant?
this will make the manual solution shorter/more readable
<META HTTP-EQUIV="Refresh"
CONTENT="3;URL=index.php?<?=SID?>">";
2) adding "meta=content" to url_rewrite.tags might help
(untested)
url_rewriter.tags = "a=href,...,meta=content"
------------------------------------------------------------------------
[2002-04-16 12:41:19] andreas.schempp@gmx.ch
If you use am meta tag like
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=index.php">";
to go to a new page, the active session id will not be transmitted.
I had to use
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=index.php?PHPSESSID="<?
session_id() ?>">";
to transfer the session manualy
would be nice to include this for session_trans_sid
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16639&edit=1