Bug #16639 Updated: session_tras_sid will not transfer session id with meta refresh
ID: 16639
Updated by: hholzgra@php.net
Reported By: andreas.schempp@gmx.ch
Status: Analyzed
Bug Type: Session related
Operating System: Linux 2.4.17 (self compiled)
PHP Version: 4.3.0-dev
-Assigned To:
+Assigned To: 17347
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
Thread (7 messages)