<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Detecting and redirecting http to https</title>
	<atom:link href="http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/</link>
	<description>Rich Internet Application development</description>
	<lastBuildDate>Wed, 28 Jul 2010 22:50:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Sharman - chapter31 &#187; Detecting https across Railo and ColdFusion Server</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-114072</link>
		<dc:creator>Michael Sharman - chapter31 &#187; Detecting https across Railo and ColdFusion Server</dc:creator>
		<pubDate>Wed, 03 Mar 2010 03:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-114072</guid>
		<description>[...] I had a way of detecting whether page requests were being made via ssl but today I came across a scenario where this doesn&#8217;t work. Let me [...]</description>
		<content:encoded><![CDATA[<p>[...] I had a way of detecting whether page requests were being made via ssl but today I came across a scenario where this doesn&#8217;t work. Let me [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Morehouse</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-110489</link>
		<dc:creator>Joshua Morehouse</dc:creator>
		<pubDate>Thu, 19 Nov 2009 14:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-110489</guid>
		<description>Thanks for this, worked great to redirect some login pages.</description>
		<content:encoded><![CDATA[<p>Thanks for this, worked great to redirect some login pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-100937</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Wed, 20 May 2009 09:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-100937</guid>
		<description>Not sure what I can tell you except I have it running in multiple production sites! Here is a slightly different version...from a live site:

Inside onRequestStart()
------------------------------------------
&lt;cfscript&gt;
	oRequest = getPageContext().getRequest();
	request.isSecure = oRequest.isSecure();
&lt;/cfscript&gt;

Inside a shopping cart page
------------------------------------------
&lt;cfif NOT request.isSecure&gt;
	&lt;cflocation url=&quot;#application.config.httpsURL#&quot; addtoken=&quot;false&quot;&gt;
&lt;/cfif&gt;</description>
		<content:encoded><![CDATA[<p>Not sure what I can tell you except I have it running in multiple production sites! Here is a slightly different version&#8230;from a live site:</p>
<p>Inside onRequestStart()<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
&lt;cfscript&gt;<br />
	oRequest = getPageContext().getRequest();<br />
	request.isSecure = oRequest.isSecure();<br />
&lt;/cfscript&gt;</p>
<p>Inside a shopping cart page<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
&lt;cfif NOT request.isSecure&gt;<br />
	&lt;cflocation url=&#8221;#application.config.httpsURL#&#8221; addtoken=&#8221;false&#8221;&gt;<br />
&lt;/cfif&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikos</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-100933</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Wed, 20 May 2009 08:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-100933</guid>
		<description>Yeah I&#039;ve put cfif NOT oRequest.isSecure() in but I still get the same problem.

I&#039;ve also cleared my browser cache</description>
		<content:encoded><![CDATA[<p>Yeah I&#8217;ve put cfif NOT oRequest.isSecure() in but I still get the same problem.</p>
<p>I&#8217;ve also cleared my browser cache</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-100912</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Wed, 20 May 2009 04:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-100912</guid>
		<description>@Nikos - Not sure if this page was caching on an old draft, the 3rd example works fine but you should check that you have

cfif NOT oRequest.isSecure()

Note the &quot;isSecure()&quot;</description>
		<content:encoded><![CDATA[<p>@Nikos &#8211; Not sure if this page was caching on an old draft, the 3rd example works fine but you should check that you have</p>
<p>cfif NOT oRequest.isSecure()</p>
<p>Note the &#8220;isSecure()&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikos</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-100823</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Tue, 19 May 2009 13:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-100823</guid>
		<description>the 3rd piece of code puts me in an infinite loop</description>
		<content:encoded><![CDATA[<p>the 3rd piece of code puts me in an infinite loop</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikos</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-100822</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Tue, 19 May 2009 13:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-100822</guid>
		<description>thanks:but

&lt;!--- set up the getRequest method for easy access --&gt;



	



sticks me in an infinite loop</description>
		<content:encoded><![CDATA[<p>thanks:but</p>
<p><!--- set up the getRequest method for easy access --></p>
<p>sticks me in an infinite loop</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sohbet</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-47486</link>
		<dc:creator>Sohbet</dc:creator>
		<pubDate>Sun, 27 Apr 2008 21:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-47486</guid>
		<description>thanked post</description>
		<content:encoded><![CDATA[<p>thanked post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nienna</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-44155</link>
		<dc:creator>Nienna</dc:creator>
		<pubDate>Thu, 03 Apr 2008 03:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-44155</guid>
		<description>Thank you! this really helped me with a problem</description>
		<content:encoded><![CDATA[<p>Thank you! this really helped me with a problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/comment-page-1/#comment-15344</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Sun, 22 Jul 2007 22:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/#comment-15344</guid>
		<description>Thanks Ben, wow you&#039;ve certainly been exploring getPageContext() hehe!

Excellent :)</description>
		<content:encoded><![CDATA[<p>Thanks Ben, wow you&#8217;ve certainly been exploring getPageContext() hehe!</p>
<p>Excellent <img src='http://www.chapter31.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
