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

 Posted by Peermohamedmydeen on 9/26/2010 | Category: ASP.NET Interview questions | Views: 4867 | Points: 40
Answer:

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.


Source: From my Friend | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response