Re: session management

From: Date: Tue, 08 Aug 2000 12:46:46 +0000
Subject: Re: session management
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10654@lists.php.net to get a copy of this message
Hi, I had posted this problem y'day itself. But I haven't got any replies so far. Whenever I deal with the Sessions, I get this error: I am using PHP 4.0 in Windows 98. As I started implementing sessions() in a test program, I am getting a 'Illegal operation' error. It's also displaying an Error like this: ---------------------------------------------------------------------------- -------------------------------------------------- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: ---------------------------------------------------------------------------- -------------------------------------------------- What's the Error / problem here and tell me how to solve it ?. I am also digging the mailing list archives for the solution to my problem !. And here's my program: <?php session_register("count"); $count++; ?> Hello visitor, you have seen this page <? echo $count; ?> times.<p> <php? # the <?=SID?> is necessary to preserve the session id # in the case that the user has disabled cookies ?> To continue, <A HREF="nextpage.php?<?=SID?>">click here</A> <? session_start(); session_register('count'); $count++; echo "<p>You've been here $count times. Thanks !</p>"; ?> Thanks in advance. ~ Karthick ----- Original Message ----- From: Sascha Schumann <sascha@schumann.cx> To: Richard Jones <rikki@ultramail.co.uk> Cc: <php-general@lists.php.net> Sent: Tuesday, August 08, 2000 5:55 PM Subject: Re: [PHP] session management > > session_register($ARRAY); > > Reading the documentation will help you. > > http://www.php.net/manual/function.session-register.php > > - Sascha > > > -- > 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 (#10654) next »