SOMETIMES, my SID gets embedded in the URL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ubik

    SOMETIMES, my SID gets embedded in the URL

    he problem is that SOMETIMES, my SID gets embedded in the URL,
    although at the begining of every page I have this code:

    ini_set('sessio n.use_only_cook ies', "1");
    session_set_coo kie_params(60*6 0);
    session_start() ;
    session_registe r("blabla");
    if (!$_SESSION["logged_in"])
    session_destroy ();
    etc, etc;

    So there are days/times when the SID isn't embedded in the URL (and in
    the links of the page), and days/times when it is, regardless of what
    value $_SESSION["logged_in"] has.
    I tested the value returned by ini_set and it's always different from
    false.
    What gives ???

    Another thing: I'm losing my session when redirecting to a relative
    url, alhtough session.use_tra ns_sid is on in php.ini!, shouldn't
    session.use_tra ns_sid take care of that, embedding SID's into urls
    when they are relative urls ?
Working...