Cookie Protection
|
You can use a basic cookie script to keep visitors (that don't have the cookie on their system) from viewing certain parts of your site (kind of.... There are always ways around it). The cookie is placed when the password provided is correct. Then, when they are forwarded to the password protected page, the cookie allows them to stay. Those without the cookie are sent back.
Most scripts are free or open source. But some have the full source code available for download yet itīs required to have permission to use them and most often the price will be listed. If there is a script license e.g. GNU or GPL then it will also be listed. |
Favorite BG Color
Let a JavaScript cookie remember your favorite background color. On...
Your Last Visit
This script remembers the last time a user visited your Web page...
User Name
This cookie allows you to record and store the visitor's name on the...
Visits
This cookie records how many times the visitor has visited the page...
Store/Retrieve Cookie Values
This example stores 3 variables into a cookie, and then retrieves...
Count Visits with Cookies - Send User To Correct Page
This JavaScript example counts the number of visits to this site...
seconds at site
Use this JavaScript to count and remember the number of seconds that... |
