Same:
- To store state between pages
- All are name value pairs
Difference:
- Session are happened at Server Side, usually accessed through Server.Session
- Cookies are client side, usually accessed through Response.Cookies
- Cookies has size limitation of 4K Bytes
- Cookies has time limitation
No comments:
Post a Comment