Whenever I try to use the start_session( ) function as seen here:
<?
session_start();
session_destroy();
?>
I am recieving errors such as this:
Warning: open(/var/state/php/sess_5520e9932dbed1e03c20511f9e5cc976, O_RDWR) failed: Permission denied (13) in /home/httpd/74fullerton/lab/dev/page3.php on line 2
I have various other .php pages running smoothly on my server, but anytime I try to start_session( ) I run into that. Is there any way to rid myself of this problem?
I have consulted my server support team and they said that it was likely an error in the code, but as seen above, there is little room for error.