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
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.
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
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
4 matches
Mail list logo