>

Check Out These Featured Resources from the IBM Business Values Solution Center on CIO Update
WHITEPAPER:
CRM Done Right

Improve the likelihood of CRM success from less than 20 percent to 60 percent.
WHITEPAPER:
Eliminating the Strategic Blind Spot

Learn why the answer may not lie in the strategy itself, but in how it is developed.
WHITEPAPER:
Finance Shared Services and Outsourcing

The face of Finance is evolving. Find out how.
The JavaScript Source - Cut and Paste JavaScript Library
Home
New Scripts
Master List
Tutorials
BG Effects
Buttons
Calculators
Calendars
Clocks
Cookies
CSS
Equivalents
Forms
Games
Generators
Messages
Miscellaneous
Navigation
Page-Details
Pass. Prot.
Scrolls
Snippets
User-Details
Shopping
Script Count:  2274
internet.com 
Navigation Menu
Site Contents
What's New?
A-Z Script List

Site FAQ
About JSS
Message Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript help
Contribute a script

Internet.commerce

Be a Commerce Partner
Managed Hosting
Digital Camera Store
Online Universities
IT Discount Club
Donate Car
Promotional Gifts
Televisions
Compare MP3 Players
Cheap Web Hosting
Racks
web hosting company
Giveaways
Mortgage Refinance

Internet.com

Developer
Downloads
International
Internet Lists
Internet News
Internet Resources
IT
Linux/Open Source
Personal Technology
Small Business
Windows Technology
xSP Resources
Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
HierMenusCentral.com
JavaScript.com
JavaScriptSource
Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com



Great Sites:
DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


Jobs.WebDeveloper.com

Special Offer! Free 30-Day Trial:
Web-Based Quickbase for Project Management
Learn Why 32 of the Fortune 100 Use Quickbase
Web-based Quickbase from Intuit is an easy, flexible and affordable way to manage projects with better visibility and accountability for everyone. With QuickBase your team can:
  • Manage Projects, Tasks, Docs
  • Share and Update Info Instantly
  • Control Access to Data
QuickBase is perfect for mid-size and large businesses. Learn more.

Sign up now and try QuickBase FREE for 30 days!
e-Newsletters
JavaScript Weekly
find a web host with:
CGI Capabilities
MySQL
Windows Hosting
Unix Hosting
Telnet/SSH
Sun Solaris
advanced search
Search Clipart.com:


Home } Cookie Scripts } Index

These scripts all use JavaScript Cookies. Cookies are small bits of information such as a name, a date, an order, etc. Web pages can set cookies on a user's system and later retrieve them. They are becoming increasingly common in personal web pages to track repeat visits. These are the most difficult scripts to write - just look at the code. General questions about cookie scripts here should be posted to The JavaScript Forum.


More on internet.com

Title: Address Book
Contributor: Joe Norman (joe@wdrealty.com)
Contributor URL: http://www.jacksonville.net/~joman/ArraysNCookies.html
Details: 6.01 KB * Uploaded June 6 2000
Description: Saves an address book database as a cookie on the user's computer. The author explains that although the actual example may not be particularly useful, the underlying code could be very beneficial for use in other projects.

[ Get Source Code ]


Title: Bookmark Reminder
Contributor: Dan Kirkpatrick (webmaster@troop321.org)
Contributor URL: http://www.troop-321.8m.com/html
Details: 2.75 KB * Uploaded June 22 2000
Description: (Best with Internet Explorer) Pops up the "Add to Favorites" bookmark window once a week, or after every certain number of days. Netscape users are given an alert message to remind them to bookmark the site.

[ Get Source Code ]


Title: Cookie Enabled
Contributor: Chris
Contributor URL: http://www.freewebs.com/javascript_1/
Details: 0.59 KB * Uploaded October 26 2005
Description: This script checks to see if the user has cookies enabled in his browser. If not, it displays an alert window letting them know your site is using cookies. Use alone or add to your cookie script.

[ Get Source Code ]


Title: Cookie Redirect
Contributor: Ronnie T. Moore
Contributor URL: The JavaScript Source
Details: 2.91 KB * Uploaded May 11 2000
Description: Redirects the visitor to different pages based on the value of a stored cookie. If no cookie is found, the available items are displayed for the user to pick from, which sets a cookie for their next visit. Our demonstration uses a 'favorite animal' cookie, but this could easily be modified to fit your needs.

[ Get Source Code ]


Title: Favorite Background
Details: 2.55 KB * Uploaded June 30 1997
Description: Let a JavaScript cookie remember your favorite background color. On future visits, it automatically displays that background color for you.

[ Get Source Code ]


Title: ID Tracker
Contributor: Ronnie T. Moore
Contributor URL: The JavaScript Source
Details: 2.53 KB * Uploaded May 19 2000
Description: Allows you to save a visitor's referral ID in a cookie ID on their computer. Then, you can you can access that ID cookie from the rest of your site. Useful to help you pay affiliate commissions or track web site referrals. Easy!

[ Get Source Code ]


Title: Name - Browser Info
Details: 2.75 KB * Uploaded June 30 1997
Description: This cookies records the visitor's name and also writes the visitor's browser information to the screen.

[ Get Source Code ]


Title: Name - Visits - Last Visit
Details: 3.42 KB * Uploaded June 30 1997
Description: This cookies records the visitor's name, how many visits, and the last visit.

[ Get Source Code ]


Title: Name - Visits - Message
Details: 3.32 KB * Uploaded June 30 1997
Description: This cookie records the visitor's name, how many visits, and displays a message depending on how many visits have been recorded.

[ Get Source Code ]


Title: New to You
Contributor: Tom Negrino/Dori Smith
Details: 1.59 KB * Uploaded February 16 2005
Description: Use this cookie to show your visitors what's new on your Web site since their last visit.

[ Get Source Code ]


Title: Number Of Visits
Details: 2.31 KB * Uploaded July 1 1997
Description: This cookies records how many times the visitor has visited the page and writes to the page accordingly. (ie: You have been here 2 times).

[ Get Source Code ]


Title: Only Popup Once
Details: 2.58 KB * Uploaded September 3 1999
Description: If you have a new window open up on your home page, it opens every time your visitors come back to that page. This is rude as well as very annoying thing to force onto your visitors. But, using cookies, this script can determine if the visitor has been here before, and only open a new window on their first visit to the page. The next time they come back, the script will read the cookie, identify them as a repeat visitor, and NOT open the window again. Neat!

[ Get Source Code ]


Title: Remove Ads
Contributor: Adremover (adremover@portalen.no)
Contributor URL: http://adremover.vr9.com/
Details: 2.97 KB * Uploaded June 15 2001
Description: Catches all clicks on ads and writes a cookie on the visitor's computer. Until the cookie expires, no ads are shown. Cool!

[ Get Source Code ]


Title: To Do List
Contributor: Pete Thompson (thompp@globalnet.co.uk)
Contributor URL: http://www.users.globalnet.co.uk/~thompp
Details: 4.05 KB * Uploaded May 10 2001
Description: Keep your To Do list up to date with this script. Demonstrates how to display, add and delete items from a list of cookies.

[ Get Source Code ]


Title: User Name
Details: 3.19 KB * Uploaded July 1 1997
Description: Cookies allow web pages to store information on the visitors computer and to later retrieve that information. This cookie records the visitor's name.

[ Get Source Code ]


javascriptsource.com
Link to Us!

Jupitermedia's Database Journal offers SQL courses and other database related resources for beginner to expert developers.






If you like JavaScript Source, please rate it! @ ScriptSearch.com

  Sign up for the Javascript Weekly Newsletters!
JavaScript is a registered trademark of Sun Microsystems, Inc.





Featured Gartner Webcasts from the Symantec Resource Center
ON-DEMAND WEBCAST :
Overcoming Today's Client Management Issues
ON-DEMAND WEBCAST :
Helping Ensure a Secure Computing Environment Using Effective Patch
ON-DEMAND WEBCAST :
Protecting the Integrity and Availability of your Company's Information
ON-DEMAND WEBCAST :
Getting a Handle on IT Assets


JupiterWeb networks:

internet.comearthweb.comDevx.comGraphics.com

Search JupiterWeb:

Jupitermedia Corporation has three divisions:
JupiterImages, JupiterWeb and JupiterResearch

Copyright 2005 Jupitermedia Corporation All Rights Reserved.
Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Jupitermedia Corporate Info | Newsletters | Tech Jobs | Shopping | E-mail Offers