string session_name ([ string $name ] )
Get and/or set the current session name
session_name() returns the name of the current session. If name is given, session_name() will update the session name and return the old session name.
<?php
/* set the session name to WebsiteID */
$previous_name = session_name("WebsiteID");
echo "The previous session name was $previous_name<br />";
?>
0 Comment:
Post a Comment