Re: sessions not working when page redirects

From: Date: Tue, 10 Aug 2004 12:07:01 +0000
Subject: Re: sessions not working when page redirects
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193260@lists.php.net to get a copy of this message
On Tuesday 10 August 2004 19:50, Angelo Zanetti wrote: > Im having a slightly weird problem with my session variables. when on a > certain page call it "A", I register a session variable and assign it a > value. I then test if it is registered successfully and has the correct > value on the same page, that works no problem. After that page "A" > redirects to page "B": > > header("Location: ../admin/include/B.php"); Did you close the session before you redirected? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Think of your family tonight. Try to crawl home after the computer crashes. */

« previous php.general (#193260) next »