#4452 Can't log in to story pages

Login (212)
Julie Hill

Using Firefox 3.5.6, Vista 32 home premium SP2. I'm logged in on the main site (http://slashdot.org), but whenever I open a story up - whether in a new tab or the same window - I'm logged out. Using the login link at the upper right takes me to my profile page - click through to the home page, where I'm still logged in - try going back to the story - logged out again. Lather, rinse, repeat.

No issues with this when using Chrome.


  • Andrew Cleveland

    I am experiencing the same problem with Firefox 3.5.8.

    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100202 Firefox/3.5.8

  • Andrew Cleveland

    Same with 3.6.

  • Ray Harris

    Ray Harris - 2010-03-30

    I've got the same problem in Firefox 3.6.2 on Vista 32-bit.

    Looking through the cookies, it seems that the "user" cookie has the host "slashdot.org" instead of the usual ".slashdot.org".

    When you're on the "http://slashdot.org" page, your "user" cookie is sent to the server and you're recognized as a user.

    When you go to a comment page at "http://science.slashdot.org" the missing leading dot in the user cookie host prevents that cookie from being sent to the server and your login isn't recognized and you can't post as yourself.

    I imagine this would be a one character fix in the code, but I'm not a Perl programmer. Hopefully this will help someone who is put up a patch for the bug.

  • Ray Harris

    Ray Harris - 2010-03-30

    I just verified that my assumption in my comment below was correct. Here's how I verified it.

    1) Logged in to slashdot.org.

    2) Checked comment pages on science.slashdot.org and hardware.slashdot.org and I was not listed as logged in on those pages.

    3) Viewed the slashdot.org cookies and copied the content of the user cookie to the clipboard.

    4) Went to a comment page on science.slashdot.org.

    5) In the address bar typed this:
    javascript:void(document.cookie=prompt('New cookie', ''));

    6) Entered this in the prompt:
    user=[user cookie content];domain=.slashdot.org

    7) Reloaded the comment page and I was now logged in.

    8) Went to a comment page on hardware.slashdot.org and I was logged in there as well.

    Hope this helps.

  • Chris Nandor

    Chris Nandor - 2010-03-30

    Try removing your cookies and logging in all over again.

  • DarwinSurvivor

    DarwinSurvivor - 2010-04-03

    Getting the same behaviour in Firefox 3.6.2 on arch linux.

  • DarwinSurvivor

    DarwinSurvivor - 2010-04-03

    Hmm, logging out at the home page, then logging back in seems to have fixed the problem for me (at least for now). Can someone else verfiy this?


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks