<?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: Rails 2.3.4 and SWFUpload &#8211; Rack Middleware for Flash Uploads that Degrade Gracefully</title>
	<atom:link href="http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/feed/" rel="self" type="application/rss+xml" />
	<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/</link>
	<description>Rock{et}ing the interweb</description>
	<lastBuildDate>Tue, 07 Feb 2012 11:39:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Simar</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-693</link>
		<dc:creator>Simar</dc:creator>
		<pubDate>Tue, 07 Feb 2012 11:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-693</guid>
		<description>Thank you for your valuable information.Today I found your blog and I read you post, it is really good..
http://www.songs.we.bs/sadda-adda-songs-free-mp3-download.html</description>
		<content:encoded><![CDATA[<p>Thank you for your valuable information.Today I found your blog and I read you post, it is really good..<br />
<a href="http://www.songs.we.bs/sadda-adda-songs-free-mp3-download.html" rel="nofollow">http://www.songs.we.bs/sadda-adda-songs-free-mp3-download.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flash Games Download&#187; Blog Archive &#187; Upload snapshot image from flash to server</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-691</link>
		<dc:creator>Flash Games Download&#187; Blog Archive &#187; Upload snapshot image from flash to server</dc:creator>
		<pubDate>Sun, 22 Jan 2012 08:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-691</guid>
		<description>[...] for more information you can read here: rails 3 or rails 2.3 [...]</description>
		<content:encoded><![CDATA[<p>[...] for more information you can read here: rails 3 or rails 2.3 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AS3, Flex, Flash, PureMVC, Games &#187; Upload snapshot image from flash to server</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-690</link>
		<dc:creator>AS3, Flex, Flash, PureMVC, Games &#187; Upload snapshot image from flash to server</dc:creator>
		<pubDate>Fri, 20 Jan 2012 11:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-690</guid>
		<description>[...] http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-th... [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-th.." rel="nofollow">http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-th..</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Racks: Not Just For Those North of the Snow Line &#124; Log Racks Deal Grabber</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-684</link>
		<dc:creator>Log Racks: Not Just For Those North of the Snow Line &#124; Log Racks Deal Grabber</dc:creator>
		<pubDate>Mon, 24 Oct 2011 01:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-684</guid>
		<description>[...] #split {}#single {}#splitalign {margin-left: auto; margin-right: auto;}#singlealign {margin-left: auto; margin-right: auto;}#splittitlebox {text-align: center;}#singletitlebox {text-align: center;}.linkboxtext {line-height: 1.4em;}.linkboxcontainer {padding: 7px 7px 7px 7px;background-color:#eeeeee;border-color:#000000;border-width:0px; border-style:solid;}.linkboxdisplay {padding: 7px 7px 7px 7px;}.linkboxdisplay td {text-align: center;}.linkboxdisplay a:link {text-decoration: none;}.linkboxdisplay a:hover {text-decoration: underline;} function opensingledropdown() { document.getElementById(&#039;singletablelinks&#039;).style.display = &#039;&#039;; document.getElementById(&#039;singlemouse&#039;).style.display = &#039;none&#039;; } function closesingledropdown() { document.getElementById(&#039;singletablelinks&#039;).style.display = &#039;none&#039;; document.getElementById(&#039;singlemouse&#039;).style.display = &#039;&#039;; } Rutland Inc Log Rack-Bracket Kit 30360RHow To Select Hearth Screens To Enhance Your Dwellingebonknight.comAttack on WordPress Blogs on RackSpaceWoodstockWood From the HoodJetpack Flight Log [...]</description>
		<content:encoded><![CDATA[<p>[...] #split {}#single {}#splitalign {margin-left: auto; margin-right: auto;}#singlealign {margin-left: auto; margin-right: auto;}#splittitlebox {text-align: center;}#singletitlebox {text-align: center;}.linkboxtext {line-height: 1.4em;}.linkboxcontainer {padding: 7px 7px 7px 7px;background-color:#eeeeee;border-color:#000000;border-width:0px; border-style:solid;}.linkboxdisplay {padding: 7px 7px 7px 7px;}.linkboxdisplay td {text-align: center;}.linkboxdisplay a:link {text-decoration: none;}.linkboxdisplay a:hover {text-decoration: underline;} function opensingledropdown() { document.getElementById(&#039;singletablelinks&#039;).style.display = &#039;&#039;; document.getElementById(&#039;singlemouse&#039;).style.display = &#039;none&#039;; } function closesingledropdown() { document.getElementById(&#039;singletablelinks&#039;).style.display = &#039;none&#039;; document.getElementById(&#039;singlemouse&#039;).style.display = &#039;&#039;; } Rutland Inc Log Rack-Bracket Kit 30360RHow To Select Hearth Screens To Enhance Your Dwellingebonknight.comAttack on WordPress Blogs on RackSpaceWoodstockWood From the HoodJetpack Flight Log [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How can I do a large file upload using Sinatra, haml, nginx, and passenger? - Admins Goodies</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-678</link>
		<dc:creator>How can I do a large file upload using Sinatra, haml, nginx, and passenger? - Admins Goodies</dc:creator>
		<pubDate>Sun, 21 Aug 2011 04:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-678</guid>
		<description>[...] at SWFUpload, but have no idea how to integrate that into my relatively simple app. There&#8217;s a page here about integrating it with Rails, but I&#8217;m using Sinatra, and am new enough to this whole web [...]</description>
		<content:encoded><![CDATA[<p>[...] at SWFUpload, but have no idea how to integrate that into my relatively simple app. There&#8217;s a page here about integrating it with Rails, but I&#8217;m using Sinatra, and am new enough to this whole web [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kill me now please</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-637</link>
		<dc:creator>kill me now please</dc:creator>
		<pubDate>Tue, 04 Jan 2011 04:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-637</guid>
		<description>HAML?  ARE YOU FUCKING SERIOUS?  REMOVE THE BULLSHIT HAML</description>
		<content:encoded><![CDATA[<p>HAML?  ARE YOU FUCKING SERIOUS?  REMOVE THE BULLSHIT HAML</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Racer</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-627</link>
		<dc:creator>Brian Racer</dc:creator>
		<pubDate>Mon, 27 Sep 2010 05:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-627</guid>
		<description>SWFUpload is making a separate POST request for each file that you add to it.</description>
		<content:encoded><![CDATA[<p>SWFUpload is making a separate POST request for each file that you add to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xujhxxffuh</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-626</link>
		<dc:creator>Xujhxxffuh</dc:creator>
		<pubDate>Mon, 27 Sep 2010 05:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-626</guid>
		<description>I&#039;m slightly confused where the app knows to take each uploaded file and create a new record? I don&#039;t see any loops or anything.</description>
		<content:encoded><![CDATA[<p>I&#8217;m slightly confused where the app knows to take each uploaded file and create a new record? I don&#8217;t see any loops or anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Foeh</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-530</link>
		<dc:creator>Jan Foeh</dc:creator>
		<pubDate>Tue, 15 Jun 2010 22:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-530</guid>
		<description>For anyone having the same problem David had, here&#039;s what I did: being sleep deprived and unable to come up with an elegant solution, I resorted to an ugly hack in application_controller.rb.


  before_filter :fix_missing_session, :only =&gt; :edit

    private

  def fix_missing_session
    if request.get? &amp;&amp; cookies[ActionController::Base.session_options[:key]].blank?
      session[:the_answer] = 42
      redirect_to request.headers[&quot;REQUEST_URI&quot;] and return
    end
  end

Whenever one of the edit pages with SWFupload in them is loaded without the session cookie being set, I set the session and reload the page. A better solution would probably be to encode a session string manually, or to calculate a new csrf token matching the empty session...</description>
		<content:encoded><![CDATA[<p>For anyone having the same problem David had, here&#8217;s what I did: being sleep deprived and unable to come up with an elegant solution, I resorted to an ugly hack in application_controller.rb.</p>
<p>  before_filter :fix_missing_session, <img src='http://jetpackweb.com/blog/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nly =&gt; :edit</p>
<p>    private</p>
<p>  def fix_missing_session<br />
    if request.get? &amp;&amp; cookies[ActionController::Base.session_options[:key]].blank?<br />
      session[:the_answer] = 42<br />
      redirect_to request.headers["REQUEST_URI"] and return<br />
    end<br />
  end</p>
<p>Whenever one of the edit pages with SWFupload in them is loaded without the session cookie being set, I set the session and reload the page. A better solution would probably be to encode a session string manually, or to calculate a new csrf token matching the empty session&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: File uploads in Ruby on Rails &#124; Space Babies</title>
		<link>http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/comment-page-1/#comment-315</link>
		<dc:creator>File uploads in Ruby on Rails &#124; Space Babies</dc:creator>
		<pubDate>Sat, 20 Feb 2010 11:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=523#comment-315</guid>
		<description>[...] That&#8217;s just sad, people. It makes Jesus cry and all that stuff. Luckily here is a good post explaining the procedure. Yes, we need to write a custom piece of middleware because Flash is [...]</description>
		<content:encoded><![CDATA[<p>[...] That&#8217;s just sad, people. It makes Jesus cry and all that stuff. Luckily here is a good post explaining the procedure. Yes, we need to write a custom piece of middleware because Flash is [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

