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!
I am trying to use sessions and keep getting this error everytime i try to start one:-
Warning: session_start(): open(/tmp\sess_26195bed3979db88bf9bbf8c545e2546, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\dev\admin.php on line 1
It is just when i start a session even with no other code. I'm sure it has something to do with the /tmp directory, but I have created it everywhere I can think and still get error.
I use apache on windows too and I changed my session.save_path to point to a valid windows path name like C:\php\mytmp vs. /tmp and a lot of my session problems went away.