Someone help me please please with this session config problem.
When I implement and session script, such as this simple baby;
<?php
session_start();
?>
<html>
<head>
<title>sessions</title>
</head>
<body>
<?php
print"<P>Welcome, your session ID is ".$session_id()."</p>";
?>
</body>
</html>
I get some crazy errors, such as
Warning: open(/tmp\sess_17ce3bc281f6412c9382b680986a99fb, O_RDWR) failed: m (2) in C:\apache\htdocs\session.php on line 2
Fatal error: Call to undefined function: () in C:\apache\htdocs\session.php on line 11
Warning: open(/tmp\sess_17ce3bc281f6412c9382b680986a99fb, O_RDWR) failed: m (2) in C:\apache\htdocs\session.php on line 0
Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in C:\apache\htdocs\session.php on line 0.
I cant find any threads on the subject. I have checked my session_save_path and it is /tmp. Nothing works.
I have PHP triad(so ive got Apache 1.3, PHP 4.05 etc) on Windows XP. Do I possibly have to save the session.save_path to something different than /tmp and if so what would I save it too. If thats not it any other ideas.
Ive hit a stupid brick wall and theres nothing else I can think of