note 64152 modified in ref.http by mike
| From: | mike@php.net | Date: | Tue, 08 Aug 2006 13:32:08 +0000 |
| Subject: | note 64152 modified in ref.http by mike | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-115648@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!
--was--
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!
http://php.net/manual/en/ref.http.php