Last modified: 2007-10-08 18:00:31 UTC
Parsing cookie headers is quite annoying. Therefore, it would be useful to have action=login return something like lgcode, which would be the prefix of the cookies. For example, if the session cookie is name commonswiki_session, lgcode should be 'commonswiki'.
Will do this after the week-end.
I noticed that without the session (commonswiki_session), the edit tokens change on each call. Could this also be added as lgSession?
(In reply to comment #2) > I noticed that without the session (commonswiki_session), the edit tokens > change on each call. Could this also be added as lgSession? > What do you mean? Do you want lgSession to be a parameter or a return value?
As return value.
(In reply to comment #4) > As return value. > Why? The user can figure out for themselves the session cookie is lgCookiePrefix . "_session"
I meant the actual content of the session cookie.
(In reply to comment #6) > I meant the actual content of the session cookie. > Oh, didn't get that. I'll implement it next Monday.
Done in r26508