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


Limit Page Views

Thread began 9/03/2010 7:21 am by MarkNewsom | Last modified 9/03/2010 8:36 am by Jason Byrnes | 931 views | 1 replies |


Limit Page Views

I have a client that does not want visitors to access a certain page on their website more than 5 times. So far I haven't found a script that handles this specifically and I was wondering of a cookie could be used to limit the number of times a visitor could visit a specific page? If so, are there any step-by-step instructions somewhere?

Sign in to reply to this post

Jason ByrnesWebAssist

a cookie could be used to limit page views, but keep in mind that a cookie is not permanent.

The cookie is stored on the client computer.

This means that the user could delete the cookie, then be able to access the page.

also, the user could use a different computer, or a different browser on the same computer, and access the page again. the cookie is not tied to the User, but rather the browser.

Really the only way you are going to be able to limit page views on the user level is if the user logs in to visit the page.

if the user is logged in, you can track in a page views table how many times they visit the page and lock them out after 5 times.

Sign in to reply to this post

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