You are here: [PHP] session woes « PHP « IT news, forums, messages
[PHP] session woes

Posted by Mignon Hunter on 10/01/24 11:12

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация