[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] PHP Sessions on Raq4



"Rus Rasmussen" <rus@xxxxxxxxxxx> wrote:
> I can't seem to get my php sessions to work on my Raq4.  PHP is working
> fine. I am able to pass information in forms, make db queries, etc.  I've
> run the phpinfo.php script and it says that php is working and that
sessions
> are turned on in my php.ini file, but they simply won't work.  Any ideas?

I use session management in PHP all the time on RaQ servers.  Are you
getting any error messages?  What are the permissions an ownership of /tmp
or if you're using session_save_path() the directory you've specified?
Also, add the following to the top of your script to get more robust error
message.

error_reporting( E_ALL );

Also, have you tested that the session management code you're using works on
another machine?  It would probably help to post the code you're using.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/