Jump to content

Need help blocking anonymous user from a page unless they fill out a form


huntert

Recommended Posts

Could someone possibly let me know how they would go about doing the following:

 

The Process:
An anonymous user goes to a product page and clicks the link "View product datasheet".
This link will redirect them to a form. They fill out the form and submit.
Once submitted a 2 month cookie is stored in their browser.
They will be redirected to the "Secret" page with all of the links to all product datasheets listed.
For 2 months if they go to any products on the site and click "View product datasheet", they won't be bothered with the form.
 
ONE RULE: Anonymous users cannot access the "Secret" page unless the cookie is stored in their browser.

 

Could someone possibly let me know how they would go about doing the following:

 

 

I'd start by writing some code.

 

 

 

This forum is for help with code you've written. If you need application design advice, we have a forum for that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.