q_the_eskimo has asked for the wisdom of the Perl Monks concerning the following question:
What I want to do is have the users run a perl cgi script that accepts a userid and password in an html form (not true basic authentication, just a form) and then write these values to the browser cache but for a different realm, not the realm of the original page. That way the proper realm and authentication values are in the client cache when the user is redirected to the new realm.
Under the current system we use basic authentication and that works fine for those links on the menu that require it, but for the other links that want the userid/password in the URL the users have to log in a second time.
By capturing the userid and login and preloading the browser cache I would be able to make a menu that has some links that use basic authentication (would see the preloaded values) and other links that require userid/password to be passed on the url (captured in the original html form).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Possible to programatically set basic auth realm,userid/password in browser client cache
by waswas-fng (Curate) on Jul 14, 2003 at 20:01 UTC | |
|
Re: Possible to programatically set basic auth realm,userid/password in browser client cache
by Excalibor (Pilgrim) on Jul 14, 2003 at 20:28 UTC | |
by q_the_eskimo (Initiate) on Jul 15, 2003 at 13:16 UTC |