similar to: any news about swfupload & sessions?

Displaying 20 results from an estimated 3000 matches similar to: "any news about swfupload & sessions?"

2007 Jan 18
5
Session IDs and SWFUpload
Hi I''m using SWFUpload in one of my applications, but it has one big shortcoming: it doesn''t maintain the session. Let me explain: The user has to login to the application, thus creating an authenticated session (cookie _session_id client side and the sessions table server side). However, when you use SWFUpload, the upload script is called with a new session
2010 Sep 09
1
406 Not Acceptable with swfupload
---------flash_session_cookie_middleware.rb require ''rack/utils'' class FlashSessionCookieMiddleware def initialize(app, session_key = ''_session_id'') @app = app @session_key = session_key end def call(env) if env[''HTTP_USER_AGENT''] =~ /^(Adobe|Shockwave) Flash/ req = Rack::Request.new(env) params =
2007 Sep 25
1
attachment_fu + SWFupload via activeupload
hi there, I am using the activeupload <http://code.google.com/p/activeupload/> plugin with attachment_fu and keep getting "406 Not Acceptable" errors when I try and upload a file, is there anything magic I need to do to get these to work? I also get AttachmentsController: missing default helper path attachments_helper but rails freaks out when I put "include
2009 Nov 02
7
*** Quick help with paperclip ***
Hi All, Someone reccomended using paperclip as a way to easily upload photos. Basically I want a quick and easy solution to allow users to add a profile picture. Anyway - I have followed the tutorial on here: http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/ I can add a file, but there isnt anywhere to upload it. I have followed the above tutorial word for word, but i dont
2008 Nov 05
2
Muliply images > wich plugin?
Hi, I have one destionation such as Barcelona and i want to store and show multiply pictures of Barcelona. Wich upload plugin is the best for this purpose? Grtz..remco -- 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
2009 Mar 09
0
skip_before_filter :verify_authenticity_token make session data not accessible.
Hi all, I''m stucked in following situation: I implemented image upload feature using swfupload. The submission from swfupload cause exception ActionController::InvalidAuthenticityToken (rails 2.2) - understandable because swfupload doesn''t send valid token. I try to temporarily turn off the checking in the controller by using "skip_before_filter
2007 Mar 14
9
file_field doesnt work inside form_remote_for
When I do file_field within a form_for things are fine... but within a form_remote_for, with nothing else changed, I find that the params does not even have the element document[uploaded_file] even though it is definitely present in the HTML source in the form. Obviously the file upload fails. Am I missing something? Or has someone else faced this? Or is this a known bug? Rajesh
2010 Mar 09
4
Plugin for uploading a folder of images?
Hi - can anyone recommend a plugin/gem for uploading a bunch of image files at once, and converting them to attachments? Ideally one that lets you select a folder and then uploads all of the images in that folder? thanks, max -- 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
2008 Dec 26
2
Video gallery in rails
Dear all, Iam in process of creating video gallery like youtube, please suggesst plugins i should install and best suits fro my application. My requirements are 1) Huge file uploading to upload videos 2) creating thumbnails on videos uploaded 3) Listing thumbnails of all videos in video gallery folder. 4) Onclicking thumbnails video should be played Please suggest a way to proceed
2007 Dec 22
2
multiple file upload
Hi, I want to do a multiple file upload with Ruby. I want to let my users upload pictures on my website to their account. I''m looking for something with a nice interface. I was wondering if you knew of any plugins/gems i can use THanks :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Jan 20
3
CookieStore and Session data via POST vars (no cookies)
This might be a solved issue, so I thought I''d ask. I''m trying to use SWFUpload with the cookiestore. I''m passing in the session_id variable through a POST parameter in the upload. I''ve verified that Flash is sending the POST params (Flash 9). I thought simply by setting cookie_only to false for that method, I would be able to get that to work.
2009 May 20
2
prototype.js insert issue
Hi, I am trying to use the following lines in my RJS and have a problem page.insert_html :bottom,:list,"<ul>" #some conditions checks page.insert_html :bottom,:list,"<li>Hello item</li>" #some more code to add <li>s page.insert_html :bottom,:list,"</ul>" The problem I am having is the first line <<page.insert_html
2010 Mar 01
0
Upload progress bar with Paperclip, Mongrel, Apache
Hello all, I''ve been looking now for several days for an easy to use progress bar plugin or tutorial. I have Paperclip installed and it works great. My production server runs on Apache and Mongrel. It''s amazing that there''s no easy set up progress bar plugin or gem out there. I have seen "SWFUpload", but that seems very complicated to implement. Thank you
2008 Oct 15
9
Rails sessions working intermittently in IE7
Hello, We are developing in Rails 2.1.0 and serving the files with mongrels behind Apache. We are using SqlSessionStore. Recently I noticed that when logging into our site using IE7 the session doesn''t persist in some situations, and persists when it shouldn''t. For instance when I log in my info is maintained when visiting certain pages, but disappears on others. The info never
2006 May 01
10
large file storing in postgres sucks?
Hi, I''m not sure if this is a postgres issue or not, but I''m using Postgres 8.1. I have (in my functional tests) the following code: upload = fixture_file_upload(''/files/podcast.mp3'', ''audio/mpeg'') post :create, :product => valid_product, :media => { :image => upload } And then in the controller: blob = Blob.create :data
2006 Jul 05
2
activerecord - finding parent info..
i am SURE this is really simple.. and i am SURE i have read this a million times.. but i am not wiring this up in my brain correctly.. if i have a parent class that has fields: Podcasts id title description and a child class like: Episodes id podcast_id title description filename i can get the episode information all day.. but using the "Episode" class, can i access the
2008 Feb 07
2
FAILSAFE error with uploads
I''ve just upgraded a production web site with some new code to handle file uploads, using both the standard post technique and swfupload. This code was working perfectly in my development environment, and I''m not sure what I should ever start to look for. Here''s the stack dump: /!\ FAILSAFE /!\ Wed Feb 06 19:13:41 -0700 2008 Status: 500 Internal Server Error
2007 Sep 18
10
How do i make rails wait until an ffmpeg call is complete?
In my app i upload a file, convert it with ffmpeg, delete the original and make a small thumbnail out of the big thumbnail ffmpeg makes. At the moment it seems like these actions are tripping over each other - how can i make the app wait until ffmpeg has completed it''s output before doing the next thing? -- Posted via http://www.ruby-forum.com/.
2006 Jan 02
3
rake test_units not loading any fixtures
Hello All, If I run my unit tests individually using Ruby, they all work correctly. However, if I try to run them using "rake test_units", I get a bunch of error messages. The error messages appear to be caused by rake not loading any of the fixtures into the test database. I am using PostgreSQL on Windows. Does anyone have any suggestions? Many thanks, Bruce. -- Posted via
2006 Nov 28
1
Return codes
How does one process a return code in Asterisk? Example... exten => s,n,Playback(/tmp/podcast/${CALLERIDNUM}) exten => s,n,System(rm "/tmp/podcast/${CALLERIDNUM}.gsm") If the caller hangs up on the playback command the file remove System statement after it never gets executed. The playback command returns a -1 in this case and logs a warning. The only thing mentioned in the