faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

12 of 35 people (34%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Using session_start() to save/restore global vars, but SOMETIMES get error "....permission denied"??

Mar 1st, 2008 04:09
dman, TeraZen, tore hansen, http://www.ttnr.org


P. Olson sent me a mail in which he said that this could be a 
misconfiguration of the session.save_path variable, from php.ini.
If you're using Windows, try uncomment the session.save_path variable, 
and set it somewhere you know there won't be any file permissions 
issues (for example, create a temp directory in C:\PHP - in this case, 
the variable should be set to C:/PHP/Temp - remember to use '/' 
instead of '\').