Hi all,
I want to implement an application which requires the users to log in the view several pages inside. To do this, I'm using session objects to keep track of the logged-in user between the pages. However I also see ASP.NET has the FormsAuthentication feature that seems to do the same job. I'm confused about about these two, session and FormsAuthentication, the difference between them, and which one is better? Code snipet would be appreciated. Thanks in advance.
I want to implement an application which requires the users to log in the view several pages inside. To do this, I'm using session objects to keep track of the logged-in user between the pages. However I also see ASP.NET has the FormsAuthentication feature that seems to do the same job. I'm confused about about these two, session and FormsAuthentication, the difference between them, and which one is better? Code snipet would be appreciated. Thanks in advance.