i have a login page after entering correct info user go to home page .
but by copying url of home page he diectly runs this page without login.
For this i have to stop this action so that he cant be able to go to home page without correct credential
Loading
Ankur JainPosted Aug 6, 2014, 3:14 AM
this is because of you have to set Authentication and Authorization, you need to set roles in web config file then you can go for it... take a look at link ..
happy coding ...
please don't forget to mark it as answer...
http://www.aspdotnet-suresh.com/2011/11/what-is-authorization-in-aspnet.html.
http://www.codeproject.com/Articles/98950/ASP-NET-authentication-and-authorization