Address Book
Saves an address book database as a cookie on the user's computer. The author explains that although the actual example may not be particularly useful, the underlying code could be very beneficial for use in other projects.
Bookmark Reminder
(Best with Internet Explorer) Pops up the "Add to Favorites" bookmark window once a week, or after every certain number of days. Netscape users are given an alert message to remind them to bookmark the site.
Favorite Background
Let a JavaScript cookie remember your favorite background color. On future visits, it automatically displays that background color for you.
Cookie Redirect
Redirects the visitor to different pages based on the value of a stored cookie. If no cookie is found, the available items are displayed for the user to pick from, which sets a cookie for their next visit. Our demonstration uses a 'favorite animal' cookie, but this could easily be modified to fit your needs.
ID Tracker
Allows you to save a visitor's referral ID in a cookie ID on their computer. Then, you can you can access that ID cookie from the rest of your site. Useful to help you pay affiliate commissions or track web site referrals. Easy!
User Name
Cookies allow web pages to store information on the visitors computer and to later retrieve that information. This cookie records the visitor's name.
Number Of Visits
This cookies records how many times the visitor has visited the page and writes to the page accordingly. (ie: You have been here 2 times).
Name - Browser Info
This cookies records the visitor's name and also writes the visitor's browser information to the screen.
Name - Visits - Last Visit
This cookies records the visitor's name, how many visits, and the last visit.
Name - Visits - Message
This cookie records the visitor's name, how many visits, and displays a message depending on how many visits have been recorded.
Only Popup Once
If you have a new window open up on your home page, it opens every time your visitors come back to that page. This is rude as well as very annoying thing to force onto your visitors. But, using cookies, this script can determine if the visitor has been here before, and only open a new window on their first visit to the page. The next time they come back, the script will read the cookie, identify them as a repeat visitor, and NOT open the window again. Neat!
Page1
HOME