|
1-7 of 7 Javascript Browsers > Cookies sites are shown.
|
|
This example shows how to have images that can be clicked and moved around the page.
They remember where they were last moved to (by using cookies) and will appear in the same place the next time.
|
|
|
|
|
|
This example stores 3 variables into a cookie, and then retrieves them.
It puts the values into a form text box where the user can change the values.
A window can be made to open up where that window has the cookie values written on it.
|
|
|
|
|
|
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)
A test-only variable should be set to false to turn off the test mode
|
|
|
|
|
|
This shows how to easily set up a test to see if this user has cookies enabled.
|
|
|
|
|
|
This uses a cookie to know if this is a first time visitor.
If it is a first timer, it asks the users name, and writes it to a cookie.
|
|
|
|
|
|
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.
It will use the value input and stored in the cookie to put that word onto the page that it is loading
|
|
|
|
|
|
This file contains a cookie construct. Here you can see how to easily use cookies.
|
|
|
|
|