Javascript redirect based on cookie
I'm having trouble getting javascript redirect work based on a cookie that's set.
I'm looking for an If Exists statement, regardless of the cookie value.
I'm inserting the javascript in a wordpress post. Does anyone have code that will work for this?
Thanks