How to get rid of PHPSESSIDs?

Discussion in 'Site & Server Administration' started by zver0, Feb 5, 2006.

  1. #1
    For some reason PHPSESSIDs randomly pop up in the URLs of one of my sites that is running on a Zeus server. I have other sites with the same platform on different servers and never had this problem.

    I have tried with .htacess:

    php_flag session.use_trans_sid off
    php_flag session.use_only_cookies on

    but it has no effect, the PHPSESSIDs still pop up sometimes.

    Any idea what might be the cause for this and how it can be fixed. Btw, the hosting company support is rather sucky so there is no way getting help from them :)
     
    zver0, Feb 5, 2006 IP
  2. ian_ok

    ian_ok Peon

    Messages:
    551
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try this.....

    php_value session.use_trans_sid 0
     
    ian_ok, Feb 5, 2006 IP
  3. zver0

    zver0 Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Actually I've tried this too, but still no effect.
     
    zver0, Feb 5, 2006 IP
  4. zver0

    zver0 Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Zeus seems to have its own commands for .htaccess, and I can't find any info about session ids in their .htaccess tutorial - http://support.zeus.com/zws/media/docs/htaccess/tutorial.html and other docs on their support site.

    So I tried making php to be parsed as html with:

    AddType application/x-httpd-php html htm php
    AddHandler application/x-httpd-php .html .htm

    and also with x-httpd-php without application/ but both result in the browser trying to download the html files.

    Hope someone knows how to get this stuff running on Zeus as I can't get any help from the company providing the hosting.
     
    zver0, Feb 6, 2006 IP