This is great advice.  Thank you, gentlemen.

Mike

-----Original Message-----
From: Cutter (CFRelated) [mailto:[email protected]] 
Sent: Wednesday, June 17, 2009 10:20 AM
To: cf-talk
Subject: Re: Redirect in Application.cfc Pseudo Contructor Area: Bad
Form?


Being that the https is required on every request, having this at the
top of your constructor makes sense, to prevent processing of the other
functions should the request be unsecure. I would put the check and
redirect in a custom function, and call the function in the beginning of
your constructor.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323579
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