Apr 07, 2011 — 7 comments
A normal HTML website will not pass data from one page to another. In other words, all information is forgotten when a new page is loaded. This makes it quite a problem for tasks like a shopping cart, which requires data(the user’s selected product) to be remembered from one page to the next. Using session and cookie, helpful to keep track every movement of the visiting web page information.