Count the number of times page submitted

2009-02-20 Thread Priya Koya
Hi All, I need to count the number of times a page was submitted continuously with a single user. If I set a count in the page then when ever it reachs the page again it counts to ). so it doesnt work. If the page hits first time count=1 If the page hits second time count=2 . . . Times the

Re: Count the number of times page submitted

2009-02-20 Thread Jake Churchill
If it's a form posting you could simply add a hidden variable and increment it each time the page gets hit: cfparam name=form.submitCount default=0 form ... input type=hidden name=submitCount value=#form.submitCount+1# Otherwise you could just use a session variable if you have then enabled.

Re: Count the number of times page submitted

2009-02-20 Thread John M Bliss
cfparam name=session.pagecount default=0 cfset session.pagecount = session.pagecount + 1 On Fri, Feb 20, 2009 at 9:47 AM, Priya Koya priya23...@gmail.com wrote: Hi All, I need to count the number of times a page was submitted continuously with a single user. If I set a count in the page

Re: Count the number of times page submitted

2009-02-20 Thread Priya Koya
Thanks for your help! cfparam name=session.pagecount default=0 cfset session.pagecount = session.pagecount + 1 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial