Home > Javascript, Programming > Simple 2-part Redirect Script

Simple 2-part Redirect Script

March 1st, 2010

I need a simple two-part script.

The first part writes a 360 day cookie on the user’s browser.

The second part is intalled on a different page and looks for the cookie. If it sees the cookie, it instantly redirects the visitor to a page I specify within that script when I install it.

The second part will be installed by me on different pages and redirect to the different pages I specify. Each instance of the second part needs to redirect to just one specified page.

The first part is the same cookie for all pages.


Simple 2-part Redirect Script

Comments are closed.
Bear