[solve] warning after using session_start()
Posted: Tue Jun 07, 2005 6:19 am
Hi all
It is the first time for me to use session function. Below my simple list
but in my browser, there are some warnings appear
how can it be happen? thanks
It is the first time for me to use session function. Below my simple list
Code: Select all
session_start();
print("Session_id : ".session_id()."<br>");
session_destroy();
print("After close session <br>\n");
print("Session_id : ".session_id()."<br>");but in my browser, there are some warnings appear
Warning: session_start(): open(/tmp\sess_a1c40f1e51d34760eb047e976b402315, O_RDWR) failed: No such file or directory (2) in d:\belajar\php belajar\session\buatsesi.php on line 2
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at d:\belajar\php belajar\session\buatsesi.php:2) in d:\belajar\php belajar\session\buatsesi.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at d:\belajar\php belajar\session\buatsesi.php:2) in d:\belajar\php belajar\session\buatsesi.php on line 2
Session_id : a1c40f1e51d34760eb047e976b402315
Warning: session_destroy(): Session object destruction failed in d:\belajar\php belajar\session\buatsesi.php on line 6
After close session
Session_id :
how can it be happen? thanks