RE: [PHP] $_SESSION

From: Date: Tue, 20 Jan 2004 18:57:57 +0000
Subject: RE: [PHP] $_SESSION
Groups: php.general 
Request: Send a blank email to php-general+get-175181@lists.php.net to get a copy of this message
Hey, Make sure its right on top of the page....just at the start of your <?php before even calling a include or require etc HTH. -Ryan On 1/20/2004 7:44:31 PM, alex.hogan@alliedelec.com wrote: > Yeah..., I tried that. > > I got back an error that read; > Warning: session_start(): Cannot send session cookie - headers already > sent > by.... > Warning: session_start(): Cannot send session cache limiter - headers > already sent..... > > > > > > -----Original Message----- > > From: Aaron Wolski [mailto:aaronjw@martekbiz.com] > > Sent: Tuesday, January 20, 2004 12:31 PM > > To: 'Alex Hogan'; 'PHP General list' > > Subject: RE: [PHP] $_SESSION > > > > You need to call session_start() on each page. > > > > > -----Original Message----- > > > From: Alex Hogan [mailto:Alex.Hogan@AlliedElec.com] > > > Sent: January 20, 2004 1:29 PM > > > To: PHP General list > > > Subject: [PHP] $_SESSION > > > > > > I've got a question that I'm sure has a simple answer. > > > > > > > > > > > > Why > aren't my session objects transferring across more than one page? > > > > > > > > > > > > I'm > calling a session object that was set in the page prior; > > > > > > $_SESSION['mysessionvar'] = $_REQUEST['mytxtobj']; > > > > > > > > > > > > I then assign a variable that value; > >

« previous php.general (#175181) next »