i have a page that has session_start() and this happends locally not sure if it shows on the server but everytime the session expires and the user gets redirected to the login page. i keep seeing these session errors.
and what i did was go into those directorys and delete the sessions by one by one. and i still see them. how can i get rid of these? is it possible that i need to set the permission that is holding these sessions to full access? there pretty annoying. thanks
Warning: session_start() [function.session-start]: open(/Applications/MAMP/tmp/php/sess_e6e1923ad0afdd566ba14f0dcfb8d1c9, O_RDWR) failed: Permission denied (13) in /Volumes/www/iadprint/iadadmin/index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Volumes/www/iadprint/iadadmin/index.php:2) in /Volumes/www/iadprint/iadadmin/index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Volumes/www/iadprint/iadadmin/index.php:2) in /Volumes/www/iadprint/iadadmin/index.php on line 2
The second two errors are the result of the first one being outputted to the page. So the only real issue is the first error.
session_start()is called. Also make sure there is no whitespace or line breaks before the first<?phpcall.session_id()beforesession_start().