about using sessions

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
bugthefixer
Forum Contributor
Posts: 118
Joined: Mon Mar 22, 2004 2:35 am

about using sessions

Post by bugthefixer »

wat shud i do to use configure sessions
when i use sessions i get this error

Code: Select all

Warning: session_start(): open(/tmp\sess_e5bdfbbec3c65417b8c9674fb781efba, O_RDWR) failed: No such file or directory (2) in c:\program files\apache group\apache\htdocs\booksnbooks\src\events.php on line 3
Breckenridge
Forum Commoner
Posts: 62
Joined: Thu Sep 09, 2004 11:10 pm
Location: Breckenridge, Colorado

Post by Breckenridge »

Edit your php.ini and make sure that you have the path defined for your windows system

1. Uncomment this line

Code: Select all

;     session.save_path = "N;/path"
2. Make sure that you have a directory named c:\temp and then set the path to:

Code: Select all

session.save_path = "c:\temp"
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I had an odd feeling we talked about this exact problem with you before, and behold we have: viewtopic.php?t=21378&highlight=%2Asession%2A
bugthefixer
Forum Contributor
Posts: 118
Joined: Mon Mar 22, 2004 2:35 am

Post by bugthefixer »

sorry feyd i just forgot it..actually at tat time i fixed it but now again i need to configure php n i was searching in manula but i cudnt find it..
Post Reply