A cookie is a message given to a Web browser by a Web server. The main purpose of cookies is to identify users and possibly prepare customized Web pages for them. This article explains benefits of using cookies and shows how to create and retrieve them. Dictionary cookies are also explained.
Tutorial explaining how to read and write cookies and why they can come in handy. The tutorial also gives examples of how cookies can be used to personalize webpages.
No matter how you feel about cookies, good bad or indifferent, they are an integral part of many webs. Why not unlock the mystery and write your own? Here's a quick rundown on this.
This tutorial shows how to keep information from the user in your server (Session method) and how to share information between users (Application method). This is only a basic tutorial for beginners with only basic features are described.
Cookies enable you to write text directly to a users computer. This can be used to easily recognize if a user has been to your site before or used to prevent multiple entries in to forms. This example will take any input you type in and write it to a cookie. A hyperlink to the same page is created to demonstrate on subsequent visits (within 3 days) the user will see their input rather then the text input box.
This tutorial describes: How ASP server uses cookies to pass an ID with the browser to link multiple HTTP requests together. How ASP server offers the session object to ASP pages to share information between multiple requests or pages. Different ways to pass information between requests or pages. How Perl tools can be used to help debug ASP applications at the HTTP communication level.
Cookies 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. Here is a very simple example of creating a cookie and setting the cookie to expire in one year using ASP