Page 1 of 1

session_save_path

Posted: Tue Dec 17, 2002 2:48 pm
by riley
I have a problem on a windows 2000 iis5 php installation.

I have to set the session_save_path for each page. For some reason it is not reading the ini correctly. I have the same path in the ini and hard coded in the page. the hard coded on works.

works

Code: Select all

session_save_path("d:/Webroot/SessionData");
echo session_save_path();
ini in the winnt directory (only ini for php)

Code: Select all

; variable in order to use PHP's session functions.
session.save_path = D:/Webroot/SessionData
any ideas

Never mind

Posted: Tue Dec 17, 2002 3:07 pm
by riley
Sorry gang I needed to restart the machince for the changes to take place and I had not.

Posted: Wed Dec 18, 2002 11:03 am
by feiticeir0
You need to edit your php.ini file and search for session.save_path = "directory"

where "directory" is the directory (normaly, for development only, in windows, i use c:\windows\temp) where php will save the sessions files !!


regards,

Bruno Santos