Cookies are small text files that are downloaded and locally stored by a user’s browser, and typically contain information about the user’s session and/or preferences. Occasionally, Web sites also store authentication-related information such as usernames and passwords. Each time the user visits the Web site, the cookie is retrieved by the site’s Web application and data from the cookie is processed. Storing this information within client-side cookies prevents Web sites from having to store and maintain information about all user sessions and preferences.
There are three main cookie types: Session, Persistent, and Tracking.
- Session Cookies: Session cookies are used by Web applications to store information, and when a user ...