javascript - How to manage session in MVC Application -
i new mvc not known how manage session.in application login using simple membership function.when first login application works properly,but when logout done , in address bar giving proper controller , action wihtout login opens directly without login.i think @ situation session required how apply not known. please suggest solution this.
advanced thank you.
asp.net provides framework handling user authentication, called "identity". available in both asp.net core (latest) , asp.net 4, documentation available both.
asp.net core: https://docs.asp.net/en/latest/security/authentication/identity.html
asp.net 4.6: http://www.asp.net/identity/overview/getting-started/introduction-to-aspnet-identity
both sites have examples of how build applications it.
Comments
Post a Comment