I'm trying to use PHP 4.3.4 on a W2k server. The application that I'm working on is AWOL (http://mnn.gospelcom.net/topher/awol/) an IN/OUT board application. It seems like global variables are not being set properly and session data isn't being saved. I have set the session.save_path = "f:/phpsession" . Nothing is being written to that folder to track session data. What else do I need to do to get the session data tracking to work?
Thanks for any advice.
Session_start issue
Moderator: General Moderators
In case you were not aware, concerning the global variables, is register_globals set to on in the php.ini? Starting in PHP 4.20, register_globals defaults to off in the php.ini.
More about register_globals:
http://www.php.net/register_globals
http://www.webdevforums.com/showthread.php?t=2151
More about register_globals:
http://www.php.net/register_globals
http://www.webdevforums.com/showthread.php?t=2151
Register globals
Register globals is turned on. That's what makes this a question in my mind as to what could be happening. I really think it is something to do with creating the session files.
-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
This is the AWOL application (http://mnn.gospelcom.net/topher/awol/) and from my limited knowledge of the source code, it looks like that session_start() stuff is in an include file that's in each php script. Still nothing in the phpsession folder.