--- ÎÚÓÐ ÎÞ <[EMAIL PROTECTED]> wrote:
> Reproduce code:
> ---
> login.php:
> $user_array=sybase_fetch_row($result);
> session_start();
> session_register("user_array");
> ...
> index.php:
> session_start();
> $user_name=$user_array[1
this means that somewhere (on line 19 of
/home/sisource/public_html/stage/administration/config.php)
there is an output. For sessions to work, session_start() should be
*before* any output was created. Even a new line or a whitespace would
break it.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Didie
Nevermind, I have found the person who fooled with the code and then lied
about being in the file.
From: "Matt" <[EMAIL PROTECTED]>
To: "Didier McGillis" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: [PHP] HELP session cache limiters
- Original Message -
> From: "Didier McGillis" <[EMAIL PROTECTED]>
> Sent: Monday, January 27, 2003 7:14 PM
> Subject: [PHP] HELP session cache limiters
>
> Any thoughts on this error?
>
> Warning: Cannot send session cache limiter - headers already sent (output
> started at /home/sisource/
Hi,
I hope u r regisitering the session variable (i.e. username) on submit of
index.php. If u r doing this then u can access the same by using
$HTTP_SESSION_VARS['username'] assuming u r registering ur session variable
as username.
I hope all the frames have session_start also.
karthik.
---
5 matches
Mail list logo