session ID question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Is there a session ID that exists when you start a session on a PHP
page? I have noticed that it sometimes is passed in the URL. How do I
get this session ID even if it doesnt exist in the URL? Cheers


Re: session ID question

On 6 Sep 2004 05:03:45 -0700 (more or less), (mr_burns)

Quoted text here. Click to load it

A session is created only if you create one.

To see the contents of a session,

  echo "Session ID: ",session_id(),"\n";


Site Timeline