Jay Ohman
2008-07-18 12:53:03 UTC
I am using 'classic' ASP, trying to create logout functionality.
The main site is publicly available (Enable anonymous access = true), and
then a private sub-directory (and it's pages) are using Integrated Windows
authentication (Enable anonymous access = false), usernames are stored in AD.
Login works fine, in fact I have at the top of all the pages:
Logged in as <%= Request("AUTH_USER") %> to verify the currently
authenticated user.
The problem is, in my logout.asp page, Session.Abandon does not log out the
user. The following line: Response.Redirect("./default.asp") properly
redirects, but does not prompt for user credentials, and the logged in
username appears at the top of the page, indicating that in fact the user is
still logged in.
How can I make a logout really happen, so that re-authentication is required
to browse the private site?
TIA!! This one has kicked my but!
The main site is publicly available (Enable anonymous access = true), and
then a private sub-directory (and it's pages) are using Integrated Windows
authentication (Enable anonymous access = false), usernames are stored in AD.
Login works fine, in fact I have at the top of all the pages:
Logged in as <%= Request("AUTH_USER") %> to verify the currently
authenticated user.
The problem is, in my logout.asp page, Session.Abandon does not log out the
user. The following line: Response.Redirect("./default.asp") properly
redirects, but does not prompt for user credentials, and the logged in
username appears at the top of the page, indicating that in fact the user is
still logged in.
How can I make a logout really happen, so that re-authentication is required
to browse the private site?
TIA!! This one has kicked my but!