Difference between cookies and sessions

 Posted by manoranjanguptaoutlook-19221 on 5/31/2013 | Category: ASP.NET Interview questions | Views: 4849 | Points: 40
Answer:

1> Cookies is client side(Browser) and session is server side
2>The main difference between cookies and sessions is that cookies are stored in the user's browser, and sessions are not.
3> A cookie can keep information in the user's browser until deleted.
3> The problem with sessions is that when you close your browser you also lose the session
5>Sessions work instead like a token allowing access and passing information while the user has their browser open.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Nadeemshaik on: 7/3/2013 | Points: 10
option no : 1 is the answer

Login to post response

More Interview Questions by manoranjanguptaoutlook-19221