CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
How to prefill username in the webpage side for login page

 



ningji
Novice

Mar 1, 2013, 7:17 AM

Post #1 of 1 (202 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 !

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives