redirecty on unauthorized page?

  • Thread starter Thread starter aa
  • Start date Start date
A

aa

I have asp.net web site in which is using windows authentification, and I
want that the User who will not authorized would be redirected to other page
 
The <authorization> element in both cases controls who's allowed access to
the pages, but the authentication is different for each mode in ASP.NET.
Well, if you're using ASP.NET 1.x and Windows authentication then it's the
browser that prompts for credentials, so there's no page to redirect to.
If you're using Forms authentication then you'll have to build you own login
page. So with the <authorization> the redirect/prompt is done automatically
for you.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top