This small javascript allows you to set a cookie on your visitors computer. If the cookie still exists the next time they visit, they are redirected to the page of your choice. Ideal for redirecting visitors who have already seen your (long) flash intro or your popup windows.
Advanced cross-platform, JavaScript utility class, for creating, reading, and deleting cookies. Cookies can be either session or persistent. Unlimited sub-values can be applied to a cookie.
This JavaScript 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. It will use the value input and stored in the cookie to put that word onto the page that it is loading.
The author notes" I was using IE version 5.5 to find the maximum size you can have a cookie be. This seems to be on the side of working - add 1 more to the size and it will not work as the cookie becomes too big. It should be easy enough to take this script and use it for yourself to test your web browser (future releases)."