Hi all,
 
I'm using SSL in a site for the first time and wasn't sure how to reference 
external files within my pages (images, css, javascript etc.)
 
I'm forcing the pages to use SSL with the following code, which will be placed 
in my Application.cfc in the onRequest method.
 
<cfif CGI.HTTPS EQ 'off'>
     <cflocation url="https://#CGI.HTTP_HOST##CGI.PATH_INFO#?#QUERY_STRING#";>
</cfif>
 
Do i need to give the full path (https://www.domain.com/images/image.jpg) for 
every reference to other files?
 
Also I take it any cfincludes will automatically be called over https as these 
are done before the file is sent to the browser?
 
Last of all how would ajax calls with cfdiv work?
 
<cfdiv bind="url:user_details.cfm?id=#userID#" />
 
Will these call the onRequest from the Application.cfc?
 
Kind regards,
 
Richard 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:326078
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