session woes
| From: | Mignon Hunter | Date: | Wed, 23 Mar 2005 17:20:24 +0000 |
| Subject: | session woes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-211396@lists.php.net to get a copy of this message | ||
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