Thread: JS cookies
Results 1 to 2 of 2
10-17-2002, 01:49 AM #1
Second, maybe I have this wrong but when you write a cookie that shows previous visits and last visit and etc.. how would I check that exactly?
The one I found has a popup for the visitor, which is ok I guess, but I would rather it not show up for the visiter and just me.
And maybe I am totally messed up on the cookie idea. So any help would be great.
10-17-2002, 03:00 PM #2
Cookies are just stored information, you define a name for your information (like 'lastVisit' ) and give it a value (' todays date'). What you do with the cookie is up to the code you use. You can make it print the visitors name (if they entered it before) or log them in to a secure area (not recommended) etc etc.
Heres a tutorial to JS cookies tutorials -
http://www.webreference.com/js/column8/If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?