How to remove SessionId from URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rizwan6feb
    New Member
    • Jul 2007
    • 108

    How to remove SessionId from URL

    Why do i see sessionid in the url in some pages of my website. The pages are indexed in google with sessionids, i know search engines don't like sessionids. How can i remove them? I have tried the following, but it doesn't work
    ini_set("sessio n.use_only_cook ies",1);
  • rizwan6feb
    New Member
    • Jul 2007
    • 108

    #2
    Still can't find the any solution

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Try setting the "session.use_tr ans_sid" directive to 0 (false).
      You may have to set it in the php.ini file for it to work properly.

      Comment

      • rizwan6feb
        New Member
        • Jul 2007
        • 108

        #4
        Originally posted by Atli
        Try setting the "session.use_tr ans_sid" directive to 0 (false).
        You may have to set it in the php.ini file for it to work properly.
        That directive is already set to 0 in php.ini. The session id is append with url in Internet Expolorer Only

        Comment

        • rizwan6feb
          New Member
          • Jul 2007
          • 108

          #5
          Still can't find any solution

          Comment

          Working...