On Tue, 17 Oct 2000, Nicolas MONNET wrote:
|On Tue, 17 Oct 2000, Shimon Rura wrote:
|
||There's no way to use basic authentication (the stuff inside HTTP) from web
||pages... you can't tell a browser "use this form to ask your user for
||passwords".
|
|#untested code
|use URI::Escape;
|use CGI;
|$q=new CGI;
|$l=uri_escape($q->param('login'),'^A-Za-z0-9');
|$p=uri_escape($q->param('password'),'^A-Za-z0-9');
|print $q->redirect("http://$login:$password@$ENV{HTTP_HOST}/path");
ouch:
print $q->redirect("http://$l:$p\@$ENV{HTTP_HOST}/path");
- Remembering Authentication Ian Frawley
- Re: Remembering Authentication John Saylor
- Re: Remembering Authentication Ian Frawley
- Re: Remembering Authentication John Saylor
- Re: Remembering Authentication Ian Frawley
- Re: Remembering Authentication Todd Chapman
- Re: Remembering Authentication Gunther Birznieks
- Re: Remembering Authentication Shimon Rura
- Re: Remembering Authentication Nicolas MONNET
- Re: Remembering Authentication Nicolas MONNET
- Re: Remembering Authentication Rodney Broom
- Re: Remembering Authentication Nicolas MONNET
- Re: Remembering Authentication Simon_Wilcox
- Re: Remembering Authentication Ian Frawley
- Re: Remembering Authentication Sean D. Cook
- Re: Remembering Authentication Simon_Wilcox
- Re: Remembering Authentication Bill Moseley
- Re: Remembering Authentication Matthew Byng-Maddick
