php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16639 session_tras_sid will not transfer session id with meta refresh
Submitted: 2002-04-16 12:41 UTC Modified: 2002-09-25 06:25 UTC
From: andreas dot schempp at gmx dot ch Assigned:
Status: Closed Package: Session related
PHP Version: 4.3.0-dev OS: Linux 2.4.17 (self compiled)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andreas dot schempp at gmx dot ch
New email:
PHP Version: OS:

 

 [2002-04-16 12:41 UTC] andreas dot schempp at gmx dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-17 05:42 UTC] 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-17 16:41 UTC] andreas dot schempp at gmx dot 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-19 20:58 UTC] 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-09-25 06:25 UTC] sas@php.net
I have no intention to support this syntax -- please use other means such as manual appending (?SID might be enough for your case).
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 15 14:00:03 2025 UTC