# Any news about swfupload & sessions?

**URL:** <https://www.ruby-forum.com/t/any-news-about-swfupload-sessions/140901>\
**Category:** Rails\
**Created:** [June 19, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/any-news-about-swfupload-sessions/140901 "2008-06-19T16:59:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thorsten](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@thorsten](https://www.ruby-forum.com/u/thorsten)\
**Post date:** [June 19, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/any-news-about-swfupload-sessions/140901/1 "2008-06-19T16:59:30Z")

</div>

Hi all,

I’m up to rewrite my swfupload code as a plugin (as far as possible).

My actual solution to the old problem with session handling and flash  
was to ignore it, send an upload\_request to the server, get back some  
secret code and then upload the file to an action where session/  
authentication  
is disabled.  
Works fine so far, but the normal way would be better.

There are many solutions, but all of them seem to fail with one  
or another browser or server.  
Has anybody a link to a page that covers that problem in a way  
that works reliably on all mayor browsers?

---

<div class="post-metadata">

**Author:** ![thorsten](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@thorsten](https://www.ruby-forum.com/u/thorsten)\
**Post date:** [June 19, 2008, 10:42pm UTC](https://www.ruby-forum.com/t/any-news-about-swfupload-sessions/140901/2 "2008-06-19T22:42:12Z")

</div>

this works for me.

gives the correct session id, tested with firefox and safari and ie7.

> **[SWFUpload & Rails](https://www.nathancolgate.com/post/31971679/swfupload-rails)**
>
> SWFUpload & Rails from Nathan Colgate on Vimeo.
> 
> SWFUpload + attachment\_fu + restful\_authentication + amazon s3 + rails 2 = hard, but doable. Dylan's...

---

<div class="post-metadata">

**Author:** ![thorsten](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@thorsten](https://www.ruby-forum.com/u/thorsten)\
**Post date:** [June 19, 2008, 10:49pm UTC](https://www.ruby-forum.com/t/any-news-about-swfupload-sessions/140901/3 "2008-06-19T22:49:52Z")

</div>

addendum

this page links to the script mentioned in the podcast

[http://jimneath.org/2008/05/15/swfupload-paperclip-and-ruby-on-rails/](http://jimneath.org/2008/05/15/swfupload-paperclip-and-ruby-on-rails/)
