On Wednesday 05 October 2005 15:44, Dharmendar Kumar wrote: > My problem is, I am not sure which is the best place to check for valid > tokens? Should I check for valid toekns within each function? Or can I > do somethign so that on every call, the component automatically cheks > for the valid token?
The OO approach would be for you to check with a security manager on each exposed class, but in the CF world you probably want to just put your checks in Application.cfm and be done with it. -- Tom Chiverton Advanced ColdFusion Programmer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220125 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

