weird session error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

weird session error

Post by Burrito »

every once in a while I get an error like this that I've never seen before. If I refresh the page it goes away...but it's troubling.

anyone seen this and/or know how to address it?

Code: Select all

File Where Error Occurred: session.inc.php Line Number: 14

Error Description: session_start() [function.session-start]: ps_files_cleanup_dir: opendir(C:\WINNT\TEMP\) failed: Invalid argument (22)
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: weird session error

Post by John Cartwright »

Burrito wrote:or know how to address it?
I wish I had something more insightful, but don't use windows :wink:
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

does anyone else have anything even remotely beneficial to add

:evil:
User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Re: weird session error

Post by dibyendrah »

Burrito wrote:every once in a while I get an error like this that I've never seen before. If I refresh the page it goes away...but it's troubling.

anyone seen this and/or know how to address it?

Code: Select all

File Where Error Occurred: session.inc.php Line Number: 14

Error Description: session_start() [function.session-start]: ps_files_cleanup_dir: opendir(C:\WINNT\TEMP\) failed: Invalid argument (22)

Try setting the session_save_path to somewhere rather than C:\WINNT\TEMP and restart the web sever.
Post Reply