The best thing you can do is read the error message and examine the
line(s) in question.
You have output in file D:\sites\inc\register.inc on line 23. That
file is included in file D:\sites\uyelik\login.php on line 90. At
least, that's how I interpret that message.
The one thing the error message
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
rela
Make sure that you have nothing before
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
...
Warning: Cannot send session cache limiter - headers
I don't know if it will solve your problem, but you may want to set the
session variable to a boolean (true | false)
$_SESSION['voted'] = true;
Stephen wrote:
I'm trying to register a session for a poll by first opening the session (session_start()), then registering it like this:
$_SES
; <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 6:34 PM
Subject: RE: [PHP] Session Trouble
> > I'm trying to register a session for a poll by first opening the
> > session (session_start()), then registering it like this:
&g
> I'm trying to register a session for a poll by first opening the
> session (session_start()), then registering it like this:
>
> $_SESSION['voted'] = "yes";
>
> Problem is, when I check to see if the session is there:
>
> if(isset($_SESSION['voted']))
>
> I have it load up a page containi
6 matches
Mail list logo