Warning: session_start(): open
Posted: Tue Sep 09, 2003 6:27 am
Warning: session_start(): open(/tmp\sess_46bbac00dab18999a67957a65c2455c1, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\test\session1.php on line 2
Warning: Unknown(): open(C:/inetpub/wwwroot/tmp\sess_46bbac00dab18999a67957a65c2455c1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (N;C:/inetpub/wwwroot/tmp) in Unknown on line 0
Have you ever gotten that type of error ?
Could any one help me to solve this problem ?
For ur kind information.
I am using PHP-MySQL in Windows platform & IIS server.
-------- session1.php--------
?>
Warning: Unknown(): open(C:/inetpub/wwwroot/tmp\sess_46bbac00dab18999a67957a65c2455c1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (N;C:/inetpub/wwwroot/tmp) in Unknown on line 0
Have you ever gotten that type of error ?
Could any one help me to solve this problem ?
For ur kind information.
I am using PHP-MySQL in Windows platform & IIS server.
-------- session1.php--------
Code: Select all
//---------- top of the page
<?php
session_start();
?>
<html>
<body>
<?php
if(!empty($_POST['loginid']))
{
if(!session_is_registered('login'))
{
$login=$_POST['loginid'];
session_register('login');
print "Welcome " . $_SESSION['login'] . ". You are logged in.";
}
}
?>
</body>
</html>