Home > AsyncSinatra-Rails-session-demo

AsyncSinatra-Rails-session-demo

AsyncSinatra-Rails-session-demo is a project mainly written in RUBY and JAVASCRIPT, it's free.

a minimal Rails application made specifically to demonstrate a sinatra/rails/eventmachine session problem

This is just a demo project for a StackOverflow question, to demonstrate an issue I have with making asynchronous calls to outside the application. For a more detailed explanation, please see the question:

http://stackoverflow.com/questions/6688985/async-sinatra-in-rails-async-actions-cant-write-to-shared-session

to run this app, use Thin:

rails server thin

pages of interest: localhost/ #Rails localhost/sinatra/local #Sinatra localhost/sinatra/goog #Sinatra sending an Asynchronous request to Google