Talisker (talisker) wrote in lj_clients,
Talisker
talisker
lj_clients

  • Mood:

Cookie generaton and handling

I'm playing with the source code of LJ.NET these days. I noticed that every communication with the LJ server uses cleartext auth, which isn't the best thing in the world. I'd like to switch over to cookie-based auth, but I'm having a problem.

From what I read of the API spec, any successful login should set an ljsession cookie - which defaults to a session cookie which is erased once the browser (or client) is closed. In C#, I can keep that as a static var that I can use for all the communication requests, no problem. The only problem is that I'm never getting that cookie. My login works fine, but the only cookie I receive after a successful login is ljuniq.

Am I doing something wrong? If anybody can help me on this one, I'd be mighty thankful.
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 10 comments