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 can you show both methods. Basicly I need to redirect to page on the
same web site
"Brock Allen" <ba****@develop.com.i_hate_spam_too> wrote in message
news:16*********************@msnews.microsoft.com. ..
Do you want them redirected or do you want them prompted for
credentials?
-Brock
DevelopMentor
http://staff.develop.com/ballen 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