Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Perl interface to .htaccess

by maard (Pilgrim)
on Oct 06, 2004 at 11:00 UTC ( [id://396946]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl interface to .htaccess
in thread Perl interface to .htaccess

but as the user is now logged in we don't need the username:password@ part anymore.

Why this works? For access to protected area to succeed browser should post Authorization header, isn't it? If we no longer post username and password in url, does this mean that browser silently begins to use Authorization header?
Can you please explain or give an url to read more on it?

Replies are listed 'Best First'.
Re^3: Perl interface to .htaccess
by iblech (Friar) on Oct 06, 2004 at 12:36 UTC

    Yes, exactly. Most browser cache the login information and send the appropriate Authorization header on each request.

    BTW, IIRC Mozilla Firefox will display a messagebox "Do you really want to login using the following user/pass-combination" if redirected to http://user:pass@.../.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://396946]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-24 14:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found