ljnp4u (ljnp4u) wrote in lj_dev,
ljnp4u
ljnp4u
lj_dev

  • Music:

Can't login using the new, session based login system (from my goathack)

FIXED
Like I said earlier, at the moment I can't login using my goathack and the new login with IP binding.
I've just started looking into it, but if anyone might be further on than me, cookies are indeed getting set, so that's not the problem.
These are the contents after trying to log in as user test, I appear to be logged in but after the first move, I'm logged out again. The cookie is still there though, and these are the contents:
ljsession
ws:test::
goathack.livejournal.org/
1024
1913362176
29518969
62857600
29506900
*
permlogin
1
goathack.livejournal.org/
1024
1913362176
29518969
62857600
29506900
*
I'll be available for another 6 hours or so if someone wants me to test something on their goathack versions/servers...

Don't be surprised if I keep on updating this post so you can throw in any thoughts that you have while I try to fix this.
I see that next to the username there is a $sess->{'sessid'}:$sess->{'auth'} is being sent to the cookie, but both return empty, so the error has to be in whatever generates the $sess table, being LJ::generate_session($u, $sess_opts); in ljlib.pl

forgot to do update-db ;-)
Subscribe
  • 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 

  • 6 comments