Kevin M. Brooks (lucretio) wrote in lj_dev,
Kevin M. Brooks
lucretio
lj_dev

[PATCH] fix login bug.

The problem: Logging in on my goathack (running the latest code) wasn't setting the cookies properly.

The fix: Using an array wasn't necessary, or at least wasn't working. I got rid of the $etime's and made it a single scalar.

Example:
- $COOKIE{'ljuser'} = [ $user, $etime ];
+ $COOKIE{'ljuser'} = $user;
Test: http://goathack.livejournal.org:8030/login.bml , using test/test

Patch: 2002-05-26-login.bml.diff


Update: This was wrong.
Subscribe

  • cl-journal livejournal client

    Hey everyone, I'd like to present a livejournal client that I wrote to fulfill my needs but maybe there are other people that can find it…

  • SessionGenerate and ljloggedin

    Are there any information after release 86 and changes in cookies scheme to use sessiongenerate? It returns ljsession key, but this key is not enough…

  • Retrieving comments

    Hi, Is there a way to retrieve a list of comments made by user XXX (which may or may be not the currently logged in user) in the journals of users…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 7 comments