
what is the difference between session and cookie ?

Differences:
1)Session is stored in server but cookie is stored in client.
2)Session should work regardless of the settings on the client browser. There is no limit on the amount of data that can be stored on session. But it is limited in cookie.
3)Session can store objects and cookies can store only strings.
4)Cookies are faster than session.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.