<?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: Uploading multiple files with progress indicator using jQuery, Flash and Rails</title>
	<atom:link href="http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/</link>
	<description>A quiet corner of geeky posts</description>
	<lastBuildDate>Tue, 10 Apr 2012 22:15:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-193</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Sat, 25 Jul 2009 19:32:15 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-193</guid>
		<description>Hi Brandon,

Thank you for your comments - and don&#039;t worry about the design of the blog ;)

I don&#039;t mention it in the article, but that code was made a Rails 2.1.2-based project. There has been made significant changes to how sessions work in Rails 2.3.2, so that&#039;s probably what gave you trouble. I&#039;m glad to hear you still got it working, though - I&#039;ll soon need to use this technique on a 2.3.2 project myself, and I&#039;ll post a followup if I run into the same trouble.</description>
		<content:encoded><![CDATA[<p>Hi Brandon,</p>
<p>Thank you for your comments &#8211; and don&#8217;t worry about the design of the blog <img src='http://casperfabricius.com/site/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I don&#8217;t mention it in the article, but that code was made a Rails 2.1.2-based project. There has been made significant changes to how sessions work in Rails 2.3.2, so that&#8217;s probably what gave you trouble. I&#8217;m glad to hear you still got it working, though &#8211; I&#8217;ll soon need to use this technique on a 2.3.2 project myself, and I&#8217;ll post a followup if I run into the same trouble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Mechtley</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-192</link>
		<dc:creator>Brandon Mechtley</dc:creator>
		<pubDate>Fri, 24 Jul 2009 20:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-192</guid>
		<description>I probably should have thought about this before posting--that&#039;s my entire session, and as I&#039;m storing a great deal extra information in it, I guess it&#039;s important to send the whole thing.</description>
		<content:encoded><![CDATA[<p>I probably should have thought about this before posting&#8211;that&#8217;s my entire session, and as I&#8217;m storing a great deal extra information in it, I guess it&#8217;s important to send the whole thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Mechtley</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-191</link>
		<dc:creator>Brandon Mechtley</dc:creator>
		<pubDate>Fri, 24 Jul 2009 20:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-191</guid>
		<description>Woops. Sorry for destroying the format of your pristine blog with that string :)</description>
		<content:encoded><![CDATA[<p>Woops. Sorry for destroying the format of your pristine blog with that string <img src='http://casperfabricius.com/site/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Mechtley</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-190</link>
		<dc:creator>Brandon Mechtley</dc:creator>
		<pubDate>Fri, 24 Jul 2009 19:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-190</guid>
		<description>Thanks for this! Your method, combined with Rob Anderton&#039;s post using a custom Rack middleware worked out great. 

Unfortunately, I&#039;m not exactly sure why, but I had a couple problems (Rails 2.3.2), the first being that I needed to replace Rails.configuration.action_controller.session[:session_key] with ActionController::Base.session_options[:key] (Rails complained that the first session variable was nil), and the second being that I have some discrepancies in my session IDs from session.session_id. 

session.session_id gives me an ID something like &quot;2d1c06c075ecd8d7e3d8e2adf2371f06,&quot; which seems reasonable, since as far as I know session IDs are supposed to be 32-byte hashes, but the actual session IDs I get from working form posts are more like, &quot;BAh7CToMdXNlcl9pZGkGOg9zZXNzaW9uX2lkIiUyZDFjMDZjMDc1ZWNkOGQ3ZTNkOGUyYWRmMjM3MWYwNjoQX2NzcmZfdG9rZW4iMWdYRGQ0U29SU1k2NGJuOEY1MWZ6S1U3ZW1ZL0hPR09lVU0wTVUvQWQwbzQ9IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--e96c3614fb16e404a2e1cbcbaf7a401d97883bbf&quot; 

I really don&#039;t have any clue why this happens, as I&#039;m pretty new to Rails, but I was able to fix the problem by using request.cookies[ActionController::Base.session_options[:key]] instead of session.session_id.

Hope this helps anyone having a similar problem.</description>
		<content:encoded><![CDATA[<p>Thanks for this! Your method, combined with Rob Anderton&#8217;s post using a custom Rack middleware worked out great. </p>
<p>Unfortunately, I&#8217;m not exactly sure why, but I had a couple problems (Rails 2.3.2), the first being that I needed to replace Rails.configuration.action_controller.session[:session_key] with ActionController::Base.session_options[:key] (Rails complained that the first session variable was nil), and the second being that I have some discrepancies in my session IDs from session.session_id. </p>
<p>session.session_id gives me an ID something like &#8220;2d1c06c075ecd8d7e3d8e2adf2371f06,&#8221; which seems reasonable, since as far as I know session IDs are supposed to be 32-byte hashes, but the actual session IDs I get from working form posts are more like, &#8220;BAh7CToMdXNlcl9pZGkGOg9zZXNzaW9uX2lkIiUyZDFjMDZjMDc1ZWNkOGQ3ZTNkOGUyYWRmMjM3MWYwNjoQX2NzcmZfdG9rZW4iMWdYRGQ0U29SU1k2NGJuOEY1MWZ6S1U3ZW1ZL0hPR09lVU0wTVUvQWQwbzQ9IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA&#8211;e96c3614fb16e404a2e1cbcbaf7a401d97883bbf&#8221; </p>
<p>I really don&#8217;t have any clue why this happens, as I&#8217;m pretty new to Rails, but I was able to fix the problem by using request.cookies[ActionController::Base.session_options[:key]] instead of session.session_id.</p>
<p>Hope this helps anyone having a similar problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pn</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-189</link>
		<dc:creator>pn</dc:creator>
		<pubDate>Mon, 08 Jun 2009 07:27:53 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-189</guid>
		<description>@Did
i have the same problem. 
i use CGI.escape for convert authenticity_token
it&#039;s work very well when you have a &#039;+&#039; in your token</description>
		<content:encoded><![CDATA[<p>@Did<br />
i have the same problem.<br />
i use CGI.escape for convert authenticity_token<br />
it&#8217;s work very well when you have a &#8216;+&#8217; in your token</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Did</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-188</link>
		<dc:creator>Did</dc:creator>
		<pubDate>Wed, 03 Jun 2009 07:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-188</guid>
		<description>Thanks Casper, I took a look at the action script code and I saw a call to the &quot;unescape&quot; method on the scriptData variable (used by the uploadify query). Perhaps, they changed it for the current  reelase. So, next step: remove this call and re-compile the flash component.</description>
		<content:encoded><![CDATA[<p>Thanks Casper, I took a look at the action script code and I saw a call to the &#8220;unescape&#8221; method on the scriptData variable (used by the uploadify query). Perhaps, they changed it for the current  reelase. So, next step: remove this call and re-compile the flash component.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-187</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Tue, 02 Jun 2009 18:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-187</guid>
		<description>I actually think I have - I just don&#039;t remember what I did about it, to be honest. It works for me with the above solution, though.</description>
		<content:encoded><![CDATA[<p>I actually think I have &#8211; I just don&#8217;t remember what I did about it, to be honest. It works for me with the above solution, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Did</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-186</link>
		<dc:creator>Did</dc:creator>
		<pubDate>Tue, 02 Jun 2009 13:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-186</guid>
		<description>Nice article, thanks for your work ! 
Unfortunately, I came through a weird bug with &quot;special&quot; characters (such as &#039;+&#039;) in the form authenticity token. On the server side, when I get the token, &#039;+&#039; characters for instance are removed. I&#039;m pretty sure it&#039;s caused by the flash component since I use encodeURIComponent.
Have you met this bug before ?</description>
		<content:encoded><![CDATA[<p>Nice article, thanks for your work !<br />
Unfortunately, I came through a weird bug with &#8220;special&#8221; characters (such as &#8216;+&#8217;) in the form authenticity token. On the server side, when I get the token, &#8216;+&#8217; characters for instance are removed. I&#8217;m pretty sure it&#8217;s caused by the flash component since I use encodeURIComponent.<br />
Have you met this bug before ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narendra</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-185</link>
		<dc:creator>Narendra</dc:creator>
		<pubDate>Thu, 21 May 2009 12:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-185</guid>
		<description>how to upload multiple files at a time.</description>
		<content:encoded><![CDATA[<p>how to upload multiple files at a time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2009/03/26/uploading-multiple-files-with-progress-indicator-using-jquery-flash-and-rails/#comment-184</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Thu, 02 Apr 2009 11:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=197#comment-184</guid>
		<description>Thanks Lars - this looks really cool. Looks like we are going to have to update Lokalebasen.dk to Rails 2.3 soon ;)</description>
		<content:encoded><![CDATA[<p>Thanks Lars &#8211; this looks really cool. Looks like we are going to have to update Lokalebasen.dk to Rails 2.3 soon <img src='http://casperfabricius.com/site/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

