Session Being Appended to Links?

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

    #1

    Session Being Appended to Links?

    Some of my links are being appending with PSPSESSID=3424l j234l...

    http://www.domain.com//ListDetail.ph...d66005c02eb5fc

    Any ideas as to why?

    Thanks

  • Jerry Stuckle

    #2
    Re: Session Being Appended to Links?

    Barkster wrote:[color=blue]
    > Some of my links are being appending with PSPSESSID=3424l j234l...
    >
    > http://www.domain.com//ListDetail.ph...d66005c02eb5fc
    >
    > Any ideas as to why?
    >
    > Thanks
    >[/color]

    Do you have cookies disabled in your browser?

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Barkster

      #3
      Re: Session Being Appended to Links?

      No I use them on site I'm designing so I haven't disabled them.

      Comment

      • Barkster

        #4
        Re: Session Being Appended to Links?

        Another weird thing is it doesn't happen all the time. Seems like
        sometime if you refresh they are not there or navigate to another page
        then back they are not doing it.

        Comment

        • Jerry Stuckle

          #5
          Re: Session Being Appended to Links?

          Barkster wrote:[color=blue]
          > Another weird thing is it doesn't happen all the time. Seems like
          > sometime if you refresh they are not there or navigate to another page
          > then back they are not doing it.
          >[/color]

          That's strange. I've heard of this happening, but never seen it myself. And
          don't know what the final resolution was. Perhaps someone else here has seen it.

          Also, please quote the message (or at least the relevant parts) that you're
          responding to. I would say the majority of us do not use Google Groups to
          access usenet, and we don't always have the previous message available.

          Thanks.

          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstucklex@attgl obal.net
          =============== ===

          Comment

          • Gordon Burditt

            #6
            Re: Session Being Appended to Links?

            >Another weird thing is it doesn't happen all the time. Seems like[color=blue]
            >sometime if you refresh they are not there or navigate to another page
            >then back they are not doing it.[/color]

            This may be correct behavior if trans_sid is turned on. It puts the
            session ID on until it has determined that cookies work.

            Gordon L. Burditt

            Comment

            • Barkster

              #7
              Re: Session Being Appended to Links?

              So should I try and turn off trans_sid? I've seen mention of that but
              from what I found it was some type of apache bug but it was happening
              on both servers. Wish I could track this down, but what your saying
              about until it determines if cookies work makes since cause it goes
              away after you change pages. It seems to only happen with the first
              browser viewing of the domain.

              Comment

              • R. Rajesh Jeba Anbiah

                #8
                Re: Session Being Appended to Links?

                Barkster wrote:[color=blue]
                > Some of my links are being appending with PSPSESSID=3424l j234l...
                >
                > http://www.domain.com//ListDetail.ph...d66005c02eb5fc
                >
                > Any ideas as to why?[/color]

                <news:111160396 2.594721.154710 @l41g2000cwc.go oglegroups.com> (
                http://groups.google.com/group/comp....24f27f2b7ac610 )

                --
                <?php echo 'Just another PHP saint'; ?>
                Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

                Comment

                • Barkster

                  #9
                  Re: Session Being Appended to Links?

                  Thanks Rajesh

                  Comment

                  • Gordon Burditt

                    #10
                    Re: Session Being Appended to Links?

                    >So should I try and turn off trans_sid?

                    I don't understand why you consider "session being appended to
                    links" to be a problem (although it can be a security issue due to
                    bookmarking or session hijacking if you don't invalidate sessions
                    after an explicit logout or a timeout). But if you don't want it,
                    turn off session.use_tra ns_sid in php.ini (but it's not on by default
                    in any setup I know, so at some point someone intentionally turned
                    it on).
                    [color=blue]
                    >I've seen mention of that but
                    >from what I found it was some type of apache bug but it was happening
                    >on both servers.[/color]

                    trans_sid is not a bug, and it's a PHP feature, not an Apache feature.
                    [color=blue]
                    >Wish I could track this down, but what your saying
                    >about until it determines if cookies work makes since cause it goes
                    >away after you change pages. It seems to only happen with the first
                    >browser viewing of the domain.[/color]

                    On the first view of the domain, it SETS the session cookie, but
                    that page view doesn't SEE the cookie until the next hit (this is
                    the way cookies work).

                    Gordon L. Burditt

                    Comment

                    • Barkster

                      #11
                      Re: Session Being Appended to Links?

                      Well just checked the php.ini file on my server and it is off anyway.
                      Guess I will have to live with it.

                      Comment

                      Working...