thanks for the reply alan,

the submission of spam is at the moment being 100% filtered using 
CFFormProtect. what i am trying to do is prevent being able to come directly to 
the addcomment page (which yes is a form page).

what i have just tried at the top of the page which seems to be working is...

<cfif NOT listContainsNoCase(CGI.HTTP_REFERER, 'articles.cfm') AND (NOT 
isDefined("FORM.submit"))>
        <cflocation url="index.cfm" addtoken="no">
</cfif>

what do you think?

mike 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293333
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