JavaScript : Scripts and Programs : Cookies

String Manager

2.0/5 (3 votes cast)

The output of this script does not mix with other strings from other cookies.

Cookie Redirect

3.5/5 (2 votes cast)

This small javascript allows you to set a cookie on your visitors computer. If the cookie still exists the next time they visit, they are redirected to the page of your choice. Ideal for redirecting visitors who have already seen you (long) flash intro or your popup windows.

Cookie Scripts

3.0/5 (2 votes cast)

This is a large collection of free cookie scripts.

Cokkie

2.7/5 (3 votes cast)

This script reads how many times a visitor visits your site.

Cookie Utility Class

2.5/5 (2 votes cast)

Cross-platform JavaScript utility class for creating, reading, and deleting cookies. Cookies can be either session or persistent. Has ability to apply unlimited sub-values to a cookie. This allows you to work within the confines of the 20 cookie per server limit.

Store/Retrieve Cookie Values

4.0/5 (1 vote cast)

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.

This example shows how to have images that can be clicked and moved around the page. They remember where they were last moved to (by using cookies) and will appear in the same place the next time. This script is designed for different pages to use the same script - just change the variable PAGE to be a different unique number. It works in both IE5.0 and NS4.7 This script needs to have the statement: onload="placemarks()" placed in the BODY tag to work properly. It might not work correctly as displayed in part of the database... download it- try it out.

Cookies Royalities Example

3.0/5 (1 vote cast)

You are promoting in this page some product on sale in another domain. If your Visitor surfs there from here then he will be cookie marked and the other domain will recognize he is coming from your Site ( This ) and then a royality process could start.

String Manager

1.0/5 (1 vote cast)

The outputs of this Cookie Script do not mix with other strings outcoming from other directory cookies , thanks to the variable assignment : var the_cookie = "MultipleInfos="+GetCookie("MultipleInfos"); This is a Programs'Set that finally shows clearly what value is returned to what function and has follow up comments on all used libraries.

Message with Cookie

5.0/5 (1 vote cast)

Cookie counts how many times you have visited our resource. Uses humor.