in reply to How does Perlmonks know who I am?

Sessions

Update: and should I discuss how sessions work?

Update 2: Sessions are made for situations like that, the sessions knows a specific browser that is running it, plus every child browser invoked by a Shift+Click. There is no need for a cookie for a session to know the browser, a new browser will log anonymous even if the other is still logged in, because it has a diffrent ID, and doesn't relate to the other session. So, the answer for the question is "Sessions", if the question was "How do sessions work?" then a more elaborate answer is in order. For now, this is all I give, downvote if you feel to.


He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/

Replies are listed 'Best First'.
Re (2): How does Perlmonks know who I am?
by RatArsed (Monk) on Jul 25, 2001 at 15:48 UTC
    And what distinguishes one client from another where there are no cookies?

    I guess it could be done by tracking IP, referrer and User agent...

    --
    RatArsed

      I thought you *couldn't* do this reliably. When I look in %ENV there is a key called UNIQUE_ID which usually has a value like: OVN3hsdpVpAAAGiyLKs

      But I thought that UNIQUE_ID changed with every request?
      And IP tracking works right up to the point when you start dealing with AOL users or people with naughty proxy servers.

      If there is a magical bouncing ball, does anyone know where to find it and track it? I would LOVE to stop fiddling with cookies.

      update
      I thought I would mention that you can stick a unique number into the URL line and track the user's identity in the $ENV{'QUERY_STRING'}. But that is visible to the user and just plain yucky looking : )
      oakbox
      "If what I'm saying doesn't make sense, that's because sense cannot be made, it's something that must be sensed"-J.S. Hall

        I checked what headers the server threw at he client to use for tracking, and it seems there aren't any (certainly if you haven't logged in). I was expecting to see an ETag or something...

        --
        RatArsed