I don't know which version of PHP you are using but if v4.2.x upwards then use session_start() and the $_SESSION[] superglobal array instead of session_register(). Your warning is because you have either started output of HTML or you have some blank lines in your PHP scripts before the session related calls were made.
HTH Rich -----Original Message----- From: empty [mailto:[EMAIL PROTECTED]] Sent: 22 November 2002 14:22 To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php