Evan Martin (evan) wrote in lj_dev,
Evan Martin
evan
lj_dev

cookies messed up again

I'm connecting to LJ via tinyproxy and I can't log in. Last time this happened it was because tinyproxy reorders HTTP headers, and it looks like that's the problem now.

A snippet of headers I get on login:

Set-Cookie: langpref=en_LJ/1107790991; path=/; domain=.livejournal.com
Set-Cookie: langpref=en_LJ/1107790991; path=/
Set-Cookie: BMLschemepref=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/; domain=.livejournal.com
Set-Cookie: BMLschemepref=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/
Set-Cookie: ljsession=ws:evan:[XXX]; path=/; domain=.livejournal.com; HttpOnly
Set-Cookie: ljsession=ws:evan:[XXX]; path=/; HttpOnly
Set-Cookie: betatest=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/; domain=.livejournal.com
Set-Cookie: betatest=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/
Set-Cookie: ljfastserver=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/; domain=.livejournal.com
Set-Cookie: ljfastserver=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/
Set-Cookie: langpref=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/; domain=.livejournal.com
Set-Cookie: langpref=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/
Set-Cookie: ljsession=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/; domain=.livejournal.com
Set-Cookie: ljsession=; expires=Thursday, 01-Jan-1970 00:00:00 GMT; path=/


As you can see, the login is set and cleared in one request.
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 

  • 13 comments