Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sessions

Status
Not open for further replies.

funkygeezer1975

Technical User
Dec 14, 2004
22
GB
I am trying use sessions yet keep getting the following error messages
Warning: session_start(): open(/tmp\sess_e75dfd4ede5aacd02e44387985af8a44, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 2

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\test.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 2

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\test.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 2

Your session id is e75dfd4ede5aacd02e44387985af8a44


Warning: Unknown(): open(/tmp\sess_e75dfd4ede5aacd02e44387985af8a44, O_RDWR) failed: No such file or directory (2) 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 (/tmp) in Unknown on line 0


the following is my ini set up is there something wrong?


[Session]
; Handler used to store/retrieve data.
session.save_handler = "files"

session.save_path = /tmp

session.use_cookies = 1

session.name = PHPSESSID

session.auto_start = 1
 

thats the path ive got
session.save_path = c:/tmp
thanks for being so quick
 
Dont worry sorted it now it will really start coming together love this its great thanks for all your help so far!!!
be back soon no doubt
 
I had the session.save_handler = "files" where as it should have been
session.save_handler = files
and also with windows you must specify
the session path as c:/path unlike linux etc. see below.
quick and simple really.
session.save_path = c:/tmp


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top