RE: [PHP] session trouble

From: Date: Fri, 22 Nov 2002 22:23:45 +0000
Subject: RE: [PHP] session trouble
Groups: php.general 
Request: Send a blank email to php-general+get-125681@lists.php.net to get a copy of this message
Make sure that you have nothing before <?PHP session_register(); etc.... You may also need to add session_start() but I'm not 100% sure on that. I generally do on all my applications that use sessions. Robbert van Andel -----Original Message----- From: empty [mailto:empty@graph-ist.com] Sent: Friday, November 22, 2002 2:22 PM To: php-general@lists.php.net Subject: [PHP] session trouble hi guys ; I can't use session bla..as on my site. PHP Code <?php session_register(); if(isset($username) && isset($pass)){ if(login($username,$pass)){ $valid_user=$username; session_start("valid_user"); do_html_url("/","Ana Sayfa"); }else{ echo("Teknik bir sorun nedeniyle giriþ iþleminiz gerçekleþtirilemiyor. Lütfen Daha sonra tekrar deneyiniz3."); } } else{ ?> ... Warning: Cannot send session cache limiter - headers already sent (output started at D:\sites\inc\register.inc:23) in D:\sites\uyelik\login.php on line 90 I cant understand and solve the warning message, what is it? thanks all. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers."

« previous php.general (#125681) next »