Cookie Redirect 2

By William Bontrager on 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

  • Created by: William Bontrager
  • Web Site: http://www.bontragerconnection.com/
  • Posted: January 31, 2007

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.


Comments

Blog comments powered by Disqus