They can be used to remember things about a user when they come back to your site. Cookies expire after a certain amount of time which you can set. Also, the clients browser must have cookies enabled for them to work.ASP > Tips and Tutorials > Cookies and SessionsOct 10, 2006
session: A concept to represent a series of HTTP requests and responses exchanged between a specific Web browser and a specific Web server, see the following diagram:
Cookie: A small amount of information sent by a Web server to a Web browser, saved by the browser, and sent back to the server later. Cookies are transmitted inside the HTTP header.
Detecting whether or not a visitor to your web site can accept cookies is not difficult. There are, however, a number of issues involved in the process which can cause it to get confusing. This article will explain the problems faced and address them one by one. This will result in a cookie detection script written in ASP that you can use on your own site.
Why use cookies?
Amongst other things Cookies are used to store information about a user, to store usernames and passwords, visited pages, favourites, last visits etc. They allow us to personalize web pages.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.