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:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 2:22 PM
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



 "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." 


Reply via email to