printing the session_id is good if you don't have control of the webserver and can't recompile php.
--enable-trans-sid doesn't use urls
the session id is kept in a cookie. It works well with all browsers that support cookies (ie,netscape, lynx, etc.)
it's totally transparent to the user and programmer.
(cookie😛HPSESSID=0428f4241b56a51c4f77523e4ea0cc16)
vincent wrote:
--enable-trans-sid has ways of F'ing up urls now and then.
Just print the session_id():
header("Location: bla.php?this=that&PHPSESSID=".session_id());
BTW, this is also "outside" PHP,
or at least it differs 0,01 from echoing an href.