How many ways can we get the value of current session id?

session_id() returns the session id for the current session.