Posted by Stephen Johnson on 09/29/14 11:12
You need to make sure that output_buffering is turned on in your php.ini
file on the dev server.
<?php
/*
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
stephen@thelonecoder.com
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
*/
?>
> From: "Mignon Hunter" <mignon.hunter@tic.toshiba.com>
> Date: Wed, 23 Mar 2005 11:20:24 -0600
> To: <php-general@lists.php.net>
> Subject: [PHP] session woes
>
> I had my script working beautifully on my box but when transferring to dev
> server no such luck
>
> Because we have an older version of php on the webservers, I had to get my
> admin to change the php.ini on the
> session.use_trans_id = 1
> so that the SID wouldnt show in the URL. But I'm not sure if that's what is
> causing my problem now.
>
> It seems I'm not able to transfer and use session data from one page to
> another. I registerd and stored my var in a session variable and can see it on
> sess_downloads_p2 but then I loose it on p3.
>
> I'm also getting
>
> [23-Mar-2005 09:04:47] PHP Warning: Cannot send session cookie - headers
> already sent by (output started at /var/www/htdocs/sess_downloads_p2.php:5) in
> /var/www/htdocs/sess_downloads_p2.php on line 60
> [23-Mar-2005 09:04:47] PHP Warning: Cannot send session cache limiter -
> headers already sent (output started at
> /var/www/htdocs/sess_downloads_p2.php:5) in
> /var/www/htdocs/sess_downloads_p2.php on line 60
>
> where line 60 is my session_start();
>
> I'm kinda clueless as to what to try next.
>
> Thanks for any ideas
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
[Back to original message]
|