Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User authentication 1

Status
Not open for further replies.

CliftonHB

Programmer
Sep 28, 2001
1
US
We have a protected page that correctly gets the browser to display the login prompt. Our problem is that, after being authenticated by the server, we want to further authenticate the user and, if they fail, get the browser to re-display the login prompt. Does anyone know how to do this? I have tried clearing the REMOTE_USER variable but it don't think it was actually cleared.
 
I think if you want to do something like that you'll have to give up on basic authentication and write your own authentication routines. I've never heard of a way to unauthorize someone via basic authentication. If you're daring, you might take a look around the web for the basic auth specs and see if there is an http header you can send to tell the browser the user is no longer authorized. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top