What is the difference between session and cookie?
The main difference between session and cookie is that cookies are stored on user’s computer in the text file format while sessions are stored on the server side. Cookies can’t hold multiple variables, on the other hand, Session can hold multiple variables. You can manually set an expiry for a cookie, while session only remains … Read more