in reply to My votes are running away...

Maybe you started at perlmonks.org but got transfered to to perlmonks.com? Perl Monks can be accessed through a number of domains, and logins are domain-specific. You can be logged in at one domain (say perlmonks.org), and not at another (say perlmonks.com). If you weren't logged in, you would appear to have no votes.

That's why links with absolute uris like
[http://www.perlmonks.org/?node_id=479]
are discouraged. One should use links such as
[id://479]
instead.

Replies are listed 'Best First'.
Re^2: My votes are running away...
by naikonta (Curate) on Apr 15, 2007 at 03:27 UTC
    Ah that also answers why someday I suddenly saw the login box while I was logged in indeed. I didn't noticed the address bar. It was really suspicious to me thinking that something has forced me to logout so I changed password right away. But, why this double domain for exactly the same content and yet different treatment to users? While I haven't read all docs, but I think I have covered the most important ones. Did I miss something?

    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
      I'd recommend using one of the various PerlMonk CSS Themes to customise the appearance of PerlMonks (or even make your own). Then if you are ever not logged in, it will be immediately apparent.

      Cheers,
      Darren :)

      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.
        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!