Pardeep Malik

Pardeep Malik

  • NA
  • 138
  • 92.7k

Login controls

Oct 18 2011 4:58 AM
I have a problem with login control, i take a login control on "Default.aspx" set in "web.config" defaultUrl="Home.aspx" and loginUrl="default.aspx" i take another page "admin.aspx" in "new1" folder and a new "web.config" file inthis folder in this folder i set <authorization> tag and deny user "user2" but if "user2" want to navigate on admin page it redirect on login page not remains on home page.
What can i do that unauthorized user that have permission for web site accessing but not permitted for a perticuler page not redirect to login page but remain in website. if any one help me please give me code if possible

Thanks in advance.

Answers (1)