Wednesday, 23 April 2014

What is difference between Cookie and Session in Asp.Net

Cookie:
  • Cookie support only plain text representation
  • Cookie is having limitations in terms of number and size
  • Cookie doesn't provide Security
  • Cookie will reduce burden on server compared to Session

Session:
  • Session support representing object 
  • Session doesn't have limitation for number and size
  • Session provides security

No comments:

Post a Comment