Forum Moderators: coopster

Message Too Old, No Replies

PHP session variables

         

welldressedmatt

2:48 pm on Apr 17, 2009 (gmt 0)

10+ Year Member



We just relocated a client to a new server. This client had a PHP event calendar installed. Since the move, the calendar no longer functions. It seems that there could be some session variable issues. The session variables are set in root/news_admin/, but the calendar is located at root/calendar/. I can leave /news_admin/ and come back, and all of the session variables are still set. But when I go to /calendar/ it cannot access those session variables. I checked out php.ini, and the session save path was commented out:

;session.save_path = "/tmp"

I am running Windows 2003 server, so I changed it to the following:

session.save_path = "C:\WINNT\Temp"

I also made the Windows \Temp folder read/writeable. I'm still having the same trouble. There are many other issues with the calendar, but they all may be related to session variable issues.

How can I make it so that root/calendar/ has access to the session variables set elsewhere?

I am running PHP 5 on Windows 2003 Server.

Thanks!
-Matt

coopster

8:19 pm on Apr 24, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Have a look at the session configuration variables [php.net] for session cookies.