Never mind, Luke. Seems that ASP.NET will just keep redirecting the user
to the login page is they are not in the role....an error can't be trapped
and user really can't be redirected if the roles are using in the web
config. To bad...you'd think their would be a means to trap that access was
denied. It just means I do forms auth in code on the page as I have been
doing to date.
"Brad" <> wrote in message
news:Otq$...
> No. I have applicaiton error handling and it's not picking it up. Let me
> ask this another way: Using the following example what should a client
> expect to see and/or how does asp.net react if the client attempts to
access
> securepage.aspx and they NOT a memeber of the Manager Role.
>
> <location path="securepage.aspx">
> <system.web>
> <authorization>
> <allow roles="Manager"/>
> <deny users="*" />
> </authorization>
> </system.web>
> </location>
>
>
>
>
> "MSFT" <> wrote in message
> news:...
> > Hi Brad,
> >
> > Can you catch the error in the method Application_Error of global.asax?
> For
> > more information about asp.net error handling, you may refer to:
> >
> > http://www.15seconds.com/issue/030102.htm
> >
> > Hope this help,
> >
> > Luke
> > Microsoft Online Support
> >
> > Get Secure! www.microsoft.com/security
> > (This posting is provided "AS IS", with no warranties, and confers no
> > rights.)
> >
>
>