I just figured out something interesting and useful... If you have a template that is fired using CFSCHEDULE, it will have the cgi.http_user_agent string "CFSCHEDULE". With that, you can prevent the template from running if you only want it executed by the scheduler... I have some database maintenance templates, but I didn't want anyone to be able to run them in a browser. This seems like a good way to protect them.... Thought it was worth sharing... Steve ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists