
ningji
Novice
Mar 1, 2013, 7:17 AM
Post #1 of 1
(74 views)
|
|
How to prefill username in the webpage side for login page
|
Can't Post
|
|
Hi i'm using lighttpd as webserver, very similar to apache, server.modules += ("mod_auth") auth.debug=2 auth.backend = "plain" auth.backend.plain.userfile = "/opt/ultra/config/web_password" auth.require = ("/" => ( "method" => "basic", "realm" => "Password protected", "require" => "user=admin" ) When login, if i type "admin", and my password, it works fine. Now the request is to prefill "admin" in the webpage to save typing. And this is a MUST requirement. Anyone can help ? I tried to setup cookies from perl CGI script, not working yet. but what's the cookie name for this login windows ? Many thanks !
|