Log in

No account? Create an account
Quick Question - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

Quick Question [Mar. 21st, 2002|11:10 pm]
LiveJournal Client Discussions


[mood |multi-tasking]
[music |Pale 3 (Run Lola Run Soundtrack): Introduction]

HTML isn't really my bag... could someone give me an example of what the HTML header should look like with the Fastserver cookie turned on in it?

Thanks in Advance!

From: andyroid
2002-03-21 09:22 pm (UTC)
Set-Cookie: ljfastserver=1; expires=SomeDateHere; path=/
(Reply) (Thread)
[User Picture]From: thorshammer
2002-03-21 09:40 pm (UTC)
I meant for an HTML-Post function. i.e Phoenix posting an entry to Livejournal

Sorry for being unclear.
Thanks a lot though!
(Reply) (Parent) (Thread)
From: evan
2002-03-21 10:13 pm (UTC)
Cookie: ljfastserver=1;
(Reply) (Parent) (Thread)
From: evan
2002-03-21 10:14 pm (UTC)
LogJam's header output on a login request when you're using a fast server:

POST /interface/flat HTTP/1.1
Cookie: ljfastserver=1;
Host: www.livejournal.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 138
Content-Type: application/x-www-form-urlencoded

Some of those headers are added by the HTTP library, of course.

(Reply) (Parent) (Thread)
[User Picture]From: thorshammer
2002-03-21 10:29 pm (UTC)
Thanks a lot, that should help quite a bit:)

As long as I get permission first from the server, is it alright to use the fastserver cookie on subsequent login requests?

(Reply) (Parent) (Thread)
From: evan
2002-03-21 10:43 pm (UTC)
Yeah, that's what I do.
Remember it's only valid to use if the user logging in can use the fastserver, so it's only really ok to use on subsequent login requests from the same user.
(Reply) (Parent) (Thread)
[User Picture]From: mart
2002-03-30 02:41 pm (UTC)

...until that user's paid account expires, of course.

(Reply) (Parent) (Thread)