OK, I resolved the problem. Sessions were OK, I had a print command that 
I used while developing to display some values on mongrel log, while 
here it prepended the text to the response and thus made it invalid.

Milan Dobrota wrote:
> When I deploy the application and set session variables in controller, I
> get response in browser.
> 
> test_id = 2 and question_id = 1Content-Type: text/html; charset=utf-8
> Set-Cookie: _paperclip_session=78f6281e39536254326432c524f3ace0; path=/
> Status: 302 Found
> Location: http://www.aaaa.com/app/test/1/1
> X-Runtime: 36ms
> Content-Length: 110
> Cache-Control: no-cache
> 
> I ran rake db:sessions:create, migrated the db, uncommented
> active_record_store line in environment.rb and protect_from_forgery line
> in application.rb. What could be the issue?
> 
> The hosting is using fcgi.

-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to