Re: Session problems

From: Date: Mon, 03 Jul 2000 06:03:47 +0000
Subject: Re: Session problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4440@lists.php.net to get a copy of this message
i was having the same problem ... all i did was to move the <?session_start(); session_register("...")?> to the very first line of my php code.... i mean the very first .. nothing before these lines ... try it . .it worked for me .. at least those warning vanishes ... -------------------------------------------------------------------------------------- SECURITY IS A MYTH........!!!!!!!! "Linux for people with avg. IQ above 98" -------------------------------------------------------------------------------------- Subhrajyoti Moitra ------- C/112 Hall-I email: subhra@iitk.ac.in On Sun, 2 Jul 2000, Thomas Edison Jr. wrote: > On whichever php3 page I try to make sessions using > the following code : > > <? > session_start(); > session_register("user"); > ?> > > I'm getting the following error: > > Warning: Cannot send session cookie - headers already > sent in C:\Inetpub\wwwroot\php\index.php3 on line 8 > > Warning: Cannot send session cache limiter - headers > already sent in C:\Inetpub\wwwroot\php\index.php3 on > line 8 > > > please help me. > > regards, > T. Edison jr. > > ===== > Rahul S. Johari (Director) > ****************************************** > Abraxas Technologies Inc. > Homepage : http://www.abraxastech.com > Email : abraxastech@yahoo.com > Tel : 91-4546512/4522124 > ******************************************* > > __________________________________________________ > Do You Yahoo!? > Kick off your party with Yahoo! Invites. > http://invites.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#4440) next »