Link to home
Start Free TrialLog in
Avatar of Y_ee
Y_ee

asked on

problem with the session

Hi I'm new to PHP and I'm trying to use the session_start() and session_register() functions but I always get this error

Warning: open(C:\Program Files\PHP\sessiondata\sess_d2fd40c68495b6ac61ae5c5be5aed868, O_RDWR) failed: m (13) in E:\www\php\session.php on line 2

Warning: open(C:\Program Files\PHP\sessiondata\sess_d2fd40c68495b6ac61ae5c5be5aed868, O_RDWR) failed: m (13) in Unknown on line 0

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

I also get this error if I try setCookie() or header()


Warning: Cannot add header information - headers already sent by (output started at E:\www\php\session.php:2) in E:\www\php\session.php on line 3

any idea?

thank you
Y
ASKER CERTIFIED SOLUTION
Avatar of thetool721
thetool721

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Y_ee
Y_ee

ASKER

hey thank you very much you saved me some head ache

ciao
Nicola