I have created a helpdesk application with a login. I am using sessions to
keep track of information I need for the session.
That information is
User's ID
User's Last Name
User's First Name
If the User is Authenticated
and the type user they are.
Here is the page the form goes to after submitting
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
ssion
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
...
Warning: Cannot send session cac
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 - he
hi guys ;
I can't use session bla..as on my site.
PHP Code
...
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.
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
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 containing the poll res
9 matches
Mail list logo