Thread: JS cookies
Results 1 to 2 of 2
Related
-
cookies in PHP Forum: PHP Forum
Replies: 1 -
set cookies Forum: CGI Perl Forum
Replies: 1 -
Cookies Session Help Forum: Website Scripts Forum
Replies: 8 -
cookies Forum: General Discussion
Replies: 3
-
10-17-2002, 01:49 AM #1
JS cookies
Just curious, I been looking at this Javascript site and it gives cookies. First off, does anyone know of a site that will teach me to write JS and cookies?
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
Hi B.
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 theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum