close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Cookie Redirect / User Authentication / Limited Views

Thread began 11/12/2009 2:51 pm by ew391940 | Last modified 11/17/2009 2:15 pm by ew391940 | 2286 views | 2 replies

Eric Mittman

You could start this out by adding a set cookie server behavior to the details page. When the user gets here you should check to see if this cookie is set, if it is set and less than 2 then you would add one to it, if it is not set then you would create it and set it to 1.

You could then add in another check to see if the cookie value is 2 or greater, if it is then the user should be redirected to a registration page or whatever page you would like them to go to.

Next you would want to make sure you have your user login and registration pages setup, you can use Security Assist to do this.

The last part would be to add an access rule to the detail page, inside of the rule you would want to move all of your cookies code so that it will not be used if the user passed the login rule.

This is just an overview the specifics will require some custom coding to get properly implemented. For the cookies stuff you would use cookies toolkit. Please post back with questions that you have about any part of this and we would be glad to give some advice and pointers. Since it is a custom implementation we will be limited in the amount of support we can provide for the custom stuff but we will be glad to advice and check some things out for you.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...