session_start() checks to see if a session has started, and if not, it starts one. : session_start « Cookie Session « PHP






session_start() checks to see if a session has started, and if not, it starts one.

 
Its syntax is: boolean session_start()

<?
session_start();
?>
  
  








Related examples in the same category

1.
2.Encode all session data into a single string and return the result
3.Session running
4.Session starter
5.Sessions with register_globals on or off in session_test.php