Your Last Visit
- This page remembers the last time you visited.
- Reload the page to see the time of this visit.
This idea could be extended to
- loading only material new to this user
- loading or not loading parts of a page based on preferences
set by user on a previous visit.
Notes:
- A Cookie is used to record the time of a visit.
- Record of last visit disappears in about 30 days, so you don't
get stale cookies.
- JavaScript Date functions have been weird in different ways
on various platforms. This seems to work for me on 2.0 final Mac - your
mileage may vary.
- This is mostly a programming example of using cookies in JavaScript.
- To see the HTML and JavaSript code select Document Source
from the View menu.
- Please feel free to use this code, hopefully giving credit as appropriate
to the authors.
Credits:
- Cookie Functions written by: Bill Dortch, once of hIdaho Design, location unknown July 2002
- Your Last Visit page by James Thiele who can be reached:
To JavaScript stuff
Page last modified 2 July 2002
Page previously modified 19 February 1996