|
The easiest way is to probably use cookies.
If you have a static html site, you can accomplish this with javascript, it'd probably take a bit of technical know how to implement it, but I think javascript can handle cookies on static html pages. (I don't really use javascript, though)
If by chance your site is written in perl/cgi I could throw something together, quick & easy, but not many people code sites in this anymore it seems.
You could always do a search in your search engine of choice for "javascript set cookie" or "php set cookie" and there should also be some info on those pages on how you can retrieve the cookies as well.
The above post by jefkin states basically the format the code will use, though you'll have to tweak it according to the coding language used by your website.
|