Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

difference between Asp.Net FormsAuthentication and Session?

Status
Not open for further replies.

jn03

Programmer
Jan 16, 2003
45
0
0
CA
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top