Description
string session_id
([string id])
session_id() returns the session id for the
current session. If id is specified, it
will replace the current session id.
The constant SID can also be used to
retrieve the current name and session id as a string suitable for
adding to URLs.