To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Windows Help

Windows Help Help with the Windows operating system

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-21-2000, 11:02 AM   #1
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
PHP 4.0.1 Sessions

I'm running php on IIS/Win2000. I just installed the newest version of php which is supposed to have fixed the session bug for the win32 platform. When I test a session, I get an error message saying:

Warning: Failed to write session data. Please check that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

I've tried changing the session.save path in the php.ini file to \tmp rather than /tmp,
I've alse tried an absolute path c:\inetpub\wwwroot\bin\tmp\ but end up with the same message. I know something is working better because with php4.0 I used to get nothing.
Anon is offline   Reply With Quote
Old 07-21-2000, 04:57 PM   #2
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: PHP 4.0.1 Sessions

You need to point to the Window temp dir. As in: session.save_path = \winnt\temp
Anon is offline   Reply With Quote
Old 07-21-2000, 05:10 PM   #3
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: PHP 4.0.1 Sessions

Thanks, It worked perfect.
Anon is offline   Reply With Quote
Old 04-26-2002, 11:47 AM   #4
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: PHP 4.0.1 Sessions

i had the problem and i changed the path, however i'm still getting the same problem, is there anytihng else you migfht have to change.

aAnother thing, if you just refresh the page after changing the ini, will it work?
Anon is offline   Reply With Quote
Old 06-26-2002, 06:10 AM   #5
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: PHP 4.0.1 Sessions

I changed php.ini to read

session.save_path = c:\winnt\temp

the problem was resolved.


Al
Anon is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:50 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.