Re: problems with sessions!!AAH

From: Date: Mon, 16 Aug 2004 19:35:28 +0000
Subject: Re: problems with sessions!!AAH
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193998@lists.php.net to get a copy of this message
"Angelo Zanetti" <binc2@ctech.ac.za> wrote in message news:s120f9d5.033@cal01.ctech.ac.za... > Hi Matt, > > The session_id() is correct on both pages. Some info I forgot to add is > this: > > on my first page: > > session_write_close(); > header("Location: franchise_menu.php?".SID); > exit(); > > however on my franchise_menu.php page, no SID is displayed in the > browser address. could that be a reason? Or have i misconfigured > something? Hi Angelo, your code looks right but you should see the session id in the address bar after the redirect. Does echo SID produce any output? By the way, I don't think you need to call session_write_close(). Torsten

« previous php.general (#193998) next »