deacon
12-07-2002, 04:24 AM
I am using a CGI form to collect info from users and in turn, they are able to download useful information from a 'Thank You' page.
My CGI form works fine but after sending users to the 'Thank You' page, I would like to use a cookie to allow users to bypass the form on future visits and go directly to a third page which simply allows users to download the desired info.
I found a script that sets a cookie & redirects users if they have visited the page but if I use it on the form page it will set the cookie & allow users to bypass the page even if they did not complete the form properly.
I am not a JS writer but I think I need to set the cookie on the 'thank you' page and on the CGI form page have a "get cookie" & "redirect" function to the third page.
Long story, hope it is clear.
Thanks for any help.
My CGI form works fine but after sending users to the 'Thank You' page, I would like to use a cookie to allow users to bypass the form on future visits and go directly to a third page which simply allows users to download the desired info.
I found a script that sets a cookie & redirects users if they have visited the page but if I use it on the form page it will set the cookie & allow users to bypass the page even if they did not complete the form properly.
I am not a JS writer but I think I need to set the cookie on the 'thank you' page and on the CGI form page have a "get cookie" & "redirect" function to the third page.
Long story, hope it is clear.
Thanks for any help.