in reply to Re^2: My votes are running away...
in thread My votes are running away...

The login or session info is kept in cookie. Cookie are domain specific (with some exceptions relating to subdomains). If you're visiting perlmonks.com, the server can't set a cookie for perlmonks.org. Your browser simply does not send PM your cookie if you're using the "wrong" domain, so PM has no idea who you are. Some sites "solve" this by redirecting all domains to the "canon" one, so no matter what domain is used to reach the site, all users end up using the same domain. PM lets you pick the domain you'd rather see in the address bar.

Replies are listed 'Best First'.
Re^4: My votes are running away...
by naikonta (Curate) on Apr 15, 2007 at 05:03 UTC
    Out of respect, ikegami, I understand about cookie. So let me rephrase my question: why are there two domains for the same content and yet treat users differently? And I still don't understand why some links I clicked on .org (which I was logged in) sent me to .com (which I was logged out). What triggers this domain switching?

    While I was editing this I opened a new tab and went to www.perlmonks.com that presented me a login box. So I logged in. When I was back on this editing I clicked the preview button and I became AM. So is this an instant prove of your statement?

    You can be logged in at one domain (say perlmonks.org), and not at another (say perlmonks.com).

    But again, why? From user experience point of view rather than technical one, I'm really clueless.


    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

      why are there two domains for the same content and yet treat users differently

      You get treated exactly the same on all domains. It's the exact same code on all of them.

      If you're asking why there are multiple domains? dunno.

      What triggers this domain switching?

      Following a bad link someone made in a post or in the CB, like the one you created in the parent post.

        like the one you created in the parent post
        I'm afraid I'm not following you. Is it just a statement of example or you're referring to an actual bad link I created somewhere in my nodes?. Just to make sure, I reread my postings which fortunately small number, so I can force myself open them all and double check all links in there. And I found no bad links.

        Other than that, you put most parts on the puzzle, so thanks :-)


        Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!