Topic: Uploadify + session_store, and not cookie_store

Hello,

is possible to get work Uploadify with active_record session_store? Every example I had found is using cookie_store...

Thanks for reply.

Last edited by deli (2011-06-23 14:30:06)

Re: Uploadify + session_store, and not cookie_store

try this.

Some::Application.config.session_store :active_record_store, :key => '_some_session'

Rails.application.config.middleware.insert_before(
  ActiveRecord::SessionStore,
FlashSessionCookieMiddleware,
  Rails.application.config.session_options[:key]
)