Hello,
I'm using ASP.NET 2.0 and VB.Net
I was wondering if anyone new of a way to display a message or redirect the user to a page if they are not authorized to view a page or folder.
For example, I am using "forms" to have the users login (using the ASPNETDB as a back end)
This works without a problem.
I then allow and deny users or roles within the subfolders by means of the web.config file.
This also works without a problem.
My question lies with what to do when a user, has logged in, but does not have access to that page/folder.
What I notice is that the login page just stays visible (validated).
Is there a way to redirect the user to a different web page when they have logged in, but do not have authorization to view the folder/page that they are trying to access?
Thanks,
JD
...
Go to the complete details ...