Forums

[resolved] Questions about PHPSESSID (6 posts)

  1. Tyssen
    Member
    Posted 6 years ago #

    I've got a form button that uses an image and it's getting a session ID attached to the end of it:
    /images/go-button-off.gif?PHPSESSID=29a6e.... which is invalidating my code. How does it get there and how do you get rid of it?
    Along the same lines why do the all the links to my index page end up with the session ID on the end of them as do the links to my stylesheet switcher which look like:
    ?style=master&PHPSESSID=29a6e....?

  2. Kafkaesqui
    Moderator
    Posted 6 years ago #

    A bit on PHP session id:

    http://wordpress.org/support/topic/66556#post-352415

    Basically it's an underlying PHP process.

  3. Tyssen
    Member
    Posted 6 years ago #

    You said there 'if you or your host have reasons to run sessions' - well I do because I've got a stylesheet switcher and I also hope to use sessions for other reasons too, but I'd prefer not to have the session ID appended where it's not needed (like on the button image).

  4. Tyssen
    Member
    Posted 6 years ago #

    For anyone else who needs to know, added this to my .htaccess: php_flag session.use_trans_sid off

  5. saigopal1
    Member
    Posted 5 years ago #

    there is an error in RSS feed for this thread link displaying feed:http://wordpress.org/support/rss/topic/68054
    instead of
    http://wordpress.org/support/rss/topic/68054

    [Edit by Mod: This is a feature and not a mistake.
    The URL with the feed protocol facilitates the easy syndication of feeds by an appropriately configured feed reader.]

  6. ThomasHolmes
    Member
    Posted 5 years ago #

    Hi there,

    I am running into the same problem with my site - session IDs are being added to the URLs on the site. For example:

    /fr/blog/?PHPSESSID=6791e39fc103baf30274938da9dfdfac

    I wanted to clarify. It suggests above that you add a line to the .htaccess:

    php_flag session.use_trans_sid off

    I put it at the end of the file after the wordpress section. It is giving me an Internal Server Error however when I do this.

    Any idea how I can resolve this. Thanks in advance!

    Thomas

Topic Closed

This topic has been closed to new replies.

About this Topic