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.  I do that quite a bit to avoid duplicate submissions.

-Jake

Priya Koya 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 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 page hits.. times the count should be
> Any ideas...????? 
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319615
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to