This example counts the number of visits to this site (page).
It uses that information to send the user directly to the correct pageon the site (via a parameter).
This uses cookies to get input from the user 1 time per users web session.
It uses a non-persistent cookie to prompt the user for a word - it then stores it for the rest of that web browser's life.
This script opens a popup window and creates a cookie that will expire within 10min. When a user revisits the page and the cookie hasn’t been expired yet than the popup window will not be loaded.