Cookie Redirect 2

William Bontrager Jan 31, 2007

General

When a page has performed it's purpose, a cookie can be set to redirect the browser to a different page on subsequent visits. Easily implemented.

(Because it will redirect after one visit, the example is not shown on this site.)


Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: cookieRedirect.js


Head

Paste this code into the HEAD section of your HTML document.


Leave a Response

(0 comments)