note 64152 added to ref.http
| From: | dandatddchosting dot com at osu1 dot php dot net | Date: | Sat, 08 Apr 2006 21:28:38 +0000 |
| Subject: | note 64152 added to ref.http | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107569@lists.php.net to get a copy of this message | ||
When I was working on a project I ran into this problem with redirecting. My solution is as follows:
header("Refresh: 5; url=../main/main.php?".session_id()."");
This allowed me to pass the session_id() which is used throughout site to make sure user has loged
in.
I hope this helps!
----
Server IP: 64.71.164.2
Probable Submitter: 67.53.23.186
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.http.php
Edit -- http://master.php.net/note/edit/64152
Del: integrated -- http://master.php.net/note/delete/64152/integrated
Del: useless -- http://master.php.net/note/delete/64152/useless
Del: bad code -- http://master.php.net/note/delete/64152/bad+code
Del: spam -- http://master.php.net/note/delete/64152/spam
Del: non-english -- http://master.php.net/note/delete/64152/non-english
Del: in docs -- http://master.php.net/note/delete/64152/in+docs
Del: other reasons-- http://master.php.net/note/delete/64152
Reject -- http://master.php.net/note/reject/64152
Search -- http://master.php.net/manage/user-notes.php