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.
Link to comment
Share on other sites

 

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.