|
Hello,
I know very little with Javascript and was wondering if I could get some help. I'm looking to redirect to a different page on my site if no cookie is present--in particular, for certain browsers.
A pseudo code would be:
---------------------
Is user using IE, Firefox or Chrome?
......If yes, continue forward like normal.
......If no, check to see if cookie is present.
............Is cookie present?
..................If yes, continue forward like normal.
..................If no, redirect to alternate page.
........................On alternate page, at the end, have a line that says, "Proceed to <original link destination>?"
..............................If user clicks to proceed, create cookie for future reference as to not load this page again throughout entire site.
---------------------
Any help would be very appreciated!
Last edited by silverpen; 08-07-2009 at 07:21 AM..
|