Scripts n'Stuffs
Directory

Subscribe to this category

Top > JavaScript > Scripts and Programs > Cookies  

Web Links
Sort By :
11. Count Visits with Cookies - Send User To Correct Page



This JavaScript example counts the number of visits to this site (page). It uses that information to send the user directly to the correct page on the site (via a parameter). A test-only variable should be set to false to turn off the test mode.
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 2 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

12. Non-Persistent Cookie



This JavaScript uses cookies to get input from the user 1 time per users web session. It uses a non-persistent cookie to prompt the user for a word - it then stores it for the rest of that web browser's life. It will use the value input and stored in the cookie to put that word onto the page that it is loading.
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 2 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

13. Store/Retrieve Cookie Values



This example stores 3 variables into a cookie, and then retrieves them. It puts the values into a form text box where the user can change the values. A window can be made to open up where that window has the cookie values written on it.
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 0 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

14. Verify Cookie Max Size



The author notes" I was using IE version 5.5 to find the maximum size you can have a cookie be. This seems to be on the side of working - add 1 more to the size and it will not work as the cookie becomes too big. It should be easy enough to take this script and use it for yourself to test your web browser (future releases)."
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 0 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

15. cookie tracker



Using a cookie This JavaScript allows you to remember how many times a user has visited a page.
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 3 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

16. seconds at site



Use this JavaScript to count and remember the number of seconds that a visitor has been at your page.
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 2 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

17. Favorite BG Color



Let a JavaScript cookie remember your favorite background color. On the first visit, it prompts for your favorite background color and change it to your choice. On future visits, it automatically displays that background color for you.
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 1 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

18. 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.
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 2 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

19. User Name



This cookie allows you to record and store the visitor's name on the visitors computer and to later retrieve that information.
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 1 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

20. Visits



This cookie records how many times the visitor has visited the page and writes to the page accordingly. (ie: You have been here 2 times).
Category:   JavaScript > Scripts and Programs > Cookies

Date Added: Jun 30, 2006 Hits: 2 Rating: 0.00 Votes: 0
Pick
Member Reviews Visitor Ratings

Pages:   2  


Home      New Listings      Hot Listings      Top Rated      Editor Pick      Add a Listing      Update a Listing      Get Rated
Copyright © 2006 SCRIPTSANDSTUFFS.COM. All Rights Reserved. Powered by INDEXU 5.2.0
Valid XHTML 1.0 Transitional   Valid CSS