
The problem is as follows:
If a visitor try to access a page in Admin folder he must be redirected to login page located in Admin folder, here I will take his username and password and then I will check this in SQL Server table, if he is authenticated then he will be redirected to Default page and he can access any page in Admin folder, but not any page in User folder
Here is one thing is important and that is login page in Admin folder and login page in User folder are different
Same scenario is for User folder
Please tell me what is the right way to achieve this functionality
Please explain your answer