Re: Session persistence with the 'header("Location: ...") call
| From: | Teodor Cimpoesu | Date: | Mon, 09 Oct 2000 08:06:32 +0000 |
| Subject: | Re: Session persistence with the 'header("Location: ...") call | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19158@lists.php.net to get a copy of this message | ||
Hi Chris!
On Sun, 08 Oct 2000, Chris Price wrote:
> session_start();
> session_register("SESSION");
> $SESSION["username"]="bill"
> header("Location:2.php4");
This was answered not too long ago, iirc.
short answer is:
header ('Location: 2.php4?'. session_name() .'='.session_id());
-- teodor