--- Guillaume Dupuis <[EMAIL PROTECTED]> wrote: > <?php > session_start($_GET['SID']); > echo SID; > ?>
I think SID is a constant that will be something like this: ?PHPSESSID=12345 or nothing. It is this way so that you can use it to append to a URL, and it will not add anything to the URL if there is no session defined. So, something like this: http://example.org/<? echo SID; ?> I missed the first part of this thread, so my apologies if this answer misses the mark. Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php