authentication issues
From: Kalidas Lanka (klanka@inter-tax.com)
Date: 05/30/02
- Next message: John: "deleting "tagged" files"
- Previous message: Tony: "Re: SSL Security Alert"
- Next in thread: Scott Stahlman [MS]: "RE: authentication issues"
- Reply: Scott Stahlman [MS]: "RE: authentication issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Kalidas Lanka" <klanka@inter-tax.com> Date: Wed, 29 May 2002 17:13:15 -0500
Hi
This is my story. We are developing an internet site. And for the
site(currently the site is getting developed under 'Default Web Site' on
Windows XP), I have both 'Basic authentication' and 'Integrated Windows
authentication' checked.
I have restricted, access to the directory, where my ASP pages are present.
Q1. If a user do not have access to the directory, and the Redirection to a
page in that directory fails(in code), can I capture the failure in a
variable. How can we do that?
In global.asa file, On Session_OnStart, I am directing every user, to
login.asp. In the login.asp file, I am force logging the user by setting the
Response.status = "401 access denied" .
Here is the problem area. If I try to capture the userid by using
Request.ServerVariables("AUTH_USER" or "LOGON_USER") immediately after
Response.Status, the Challenge/Response logon box does not show up.
If I do not use the Request.ServerVariables after Response.Status the logon
box shows up three times.
I want your help to be able to do the following if possible.
a. Get the logon box show up.
b. Capture the userid after the user enters his userid in the appeared logon
box and store it in a Session variable.
Can somebody suggest some alternatives or some code modifications. I would
highly appreciate your help.
Thanks in advance for all your help.
Regards,
Kalidas
- Next message: John: "deleting "tagged" files"
- Previous message: Tony: "Re: SSL Security Alert"
- Next in thread: Scott Stahlman [MS]: "RE: authentication issues"
- Reply: Scott Stahlman [MS]: "RE: authentication issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|