Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Cookies Question [Mar. 28th, 2005|01:36 am]
LiveJournal Client Discussions


[mood |hungryhungry]
[music |Pigface - Miss Sway Action]

I've got a question about the cookie authentication.

I see that I send the cookie to livejournal, but I'm a bit confused about how I get the cookie in the first place.
What command do I send to the lj server to have it send the cookie to the client?


[User Picture]From: marksmith
2005-03-28 05:59 pm (UTC)
Clients don't use cookies, unless you're writing a comment export client, in which case you use the sessiongenerate protocol mode in order to get a cookie to send.

With clients, you get a challenge and then calculate a response hash based on that and the user supplied password, and you send all that along so the server can authenticate you.
(Reply) (Thread)