Translate

Friday, August 31, 2012

Difference between Session object and Profile object in ASP.NET?


Profile
-------
1.Profile object is persistent.
2.Profile object uses the provider model to store information.
3. Profile object is strongly typed.
4. Mostly used for anonymous users.

Session 
--------
1.Session object is non-persistant.
2.Session object uses the In Proc, Out Of Process or SQL Server Mode to store information.
3. Session object is not strongly typed.
4. Used for authenticated users.

No comments:

Post a Comment