ragazzi (e anche ragazze
) queste sessioni mi fanno qualche problemuccio:
codice:
Warning: session_start(): open(/tmp\sess_2f4860b3c41a5e1ff6325eb46cf33370, O_RDWR) failed: No such file or directory (2) in d:\uplink\x.net\test\1.php on line 3
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at d:\uplink\x.net\test\1.php:3) in d:\uplink\x.net\test\1.php on line 3
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at d:\uplink\x.net\test\1.php:3) in d:\uplink\x.net\test\1.php on line 3
Vai
Warning: Unknown(): open(/tmp\sess_2f4860b3c41a5e1ff6325eb46cf33370, 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 (/tmp) in Unknown on line 0
nel file 1.php c'è solo
Codice PHP:
<?php
session_start();
$_SESSION['prova']="Hop";
?>
<html>
<body>
<a hreg="2.php">Vai</a>
</body>
</html>
ps. le sessioni funzionano con IIS?