Session IDs Problem

Discussion in 'PHP' started by mgrohan, Sep 26, 2006.

  1. #1
    Hi, i'm using ScriptDemo's Job site on one of my sites. Problem is that it uses sessions and i would prefer cookies if possible (for security and SEO).

    I have been able to hide sessions for sites using the normal: ?PHPSESSID=xxxx , but this script instead uses auth_sess which i have been unable to find any information about.

    mysite.com/jobs/forgot_passwords.php?jobseeker=true&auth_sess=8c23ccd8852a71d2ecdee86331fd1da3

    How can i hide this ugly url or use cookies instead. Is there an easy solution (.htaccess or php.ini) or does it involve changing the whole script?

    Thanks for any help :)
     
    mgrohan, Sep 26, 2006 IP
  2. Chaos King

    Chaos King Peon

    Messages:
    88
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just add this line in your .htaccess file. This will turn of the php session id strings.

    php_flag session.use_trans_sid off
    Code (markup):
     
    Chaos King, Sep 26, 2006 IP