Session.save_path Error
Posted by: mrpat (---.prem.tmns.net.au)
Date: August 09, 2009 02:07PM

Howdy boy's girl's and all you other folk,

after about 18 months of WAMPSERVER love i have found my self in a confusing pickle.

i recently updated to "WampServer2.0i_1" and while working on a project came across a funny error


Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\wamp\tmp\) in Unknown on line 0


i have done all the troubleshooting that i can think of, like:

checking the session.save_path: "c:\wamp\tmp"
and changed the session id to be legal (which it already was but removed the "_"winking smiley
and have checked with phpinfo() and found the session.save_path = c:\wamp\tmp
and is writable.
also changed the folder for session.save_path in php.ini and have same result



so i really do not know where to go from here to resolve this issue.



Edited 1 time(s). Last edit at 08/09/2009 02:28PM by mrpat.

Options: ReplyQuote
Re: Session.save_path Error
Posted by: toumimi (---.114.116-78.rev.gaoland.net)
Date: August 09, 2009 02:29PM

Quote

The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,'

You should debug this one before : if session contains invalid characters, then you won't be able to save file in tmp folder. Windows will refuse it.. You should have a function session_id somewhere in your code.

Note that for everybody, this folder is read-only and that sessions work well winking smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.