winchester169
09-23-2003, 02:48 AM
I need some help. I have searched the web for 2 days and searched all of this forum and found little snippets I almost could use (some gave me "object expected" errors (????))
What I have is two pages:
Page one is a redirect from paypal.
What I need to do here is set a cookie with any value then redirect to another page.
(this is working for the redirect)
<sc+ript language="javascript">
<!--
location.replace("http://my.url/file.html");
-->
</sc+ript>
Page two needs to do two things. Check for the existence of the cookie and if found, leave the page in the browser but delete the cookie so the user can not return to the page again by bookmarking it or typing it in the address bar etc etc etc.
If the cookie is not found (see above) redirect to another page.
Thank you so very much in advance.
-Jered
What I have is two pages:
Page one is a redirect from paypal.
What I need to do here is set a cookie with any value then redirect to another page.
(this is working for the redirect)
<sc+ript language="javascript">
<!--
location.replace("http://my.url/file.html");
-->
</sc+ript>
Page two needs to do two things. Check for the existence of the cookie and if found, leave the page in the browser but delete the cookie so the user can not return to the page again by bookmarking it or typing it in the address bar etc etc etc.
If the cookie is not found (see above) redirect to another page.
Thank you so very much in advance.
-Jered