Author: Srikanth Kasturi | Posted on: 1/5/2009 3:57:53 AM | Views : 318

Hi all.

 I have 5 forms with two kinds of logins (admin, user). for 2 forms (say f3 and f5) i need to give the access permissions to admin only and f1,f2 and f4 are accessible globally to all users. I have acheived this by using sessions(loading the type of user in session) and invoking the condition on page_load event. But the problem is i am redirecting them to another page(say access_denied.aspx) whenever there is unauthorised access. I dont want to do this. Instead i want them to stay in the current page and display error message.
...

Go to the complete details ...