W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] Solving the login/logout problem in HTML

From: Philipp Kempgen <philipp.kempgen@amooma.de>
Date: Tue, 25 Nov 2008 22:18:00 +0100
Message-ID: <492C6B88.80608@amooma.de>
Ian Hickson schrieb:
> On Tue, 25 Nov 2008, Julian Reschke wrote:
>> > 
>> > The problem is that you'd basically have to duplicate the entire form, 
>> > since login forms can be arbitrarily complex. If the bot has the 
>> > username and password, why not also give it the username field name, 
>> > password field name, and login script url? Just consider them part of 
>> > the credentials.
>> 
>> That works in theory, but doesn't scale.
>> 
>> For instance, we've been working on a search engine that scan internet 
>> sites that may require authentication. Configuring that login for each 
>> site would be a maintenance nightmare.
> 
> Well for a piece of software of that scale, parsing the document using an 
> off-the-shelf HTML parser and finding the first matching <form> element 
> and then applying normal HTML semantics to get to the form fields

Ugh.

   Philipp Kempgen
Received on Tuesday, 25 November 2008 13:18:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC