Is there such an API?
+6
A:
You can find out by calling the following code:
if(isset($_SESSION))
{
//The session was started
}
Sam152
2010-01-04 06:41:12
Keep in mind that `session_write_close()` ends the session mechanism but doesn't destroy _SESSION.
VolkerK
2010-01-04 08:27:51