Hello,
i set up Swfobject and it works well, but there is a problem: i'm not
able to get sessions vars through Swfobject upload requests.
Swfobject seems to create another session_id record in the table, so i
lose my variables such as session[:user_id] etc...

In "new.html.erb", i wrote:

  upload_url : '<%= swfupload_documents_path %>?_Docs_session=<%=
request.session_options[:id] %>&authenticity_token=<%=
form_authenticity_token %>',

and in "DocumentsController", there is:
protect_from_forgery :except => :swfupload

can anyone help me please?

Thank you very much.

Regards

Alberto
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to