sinatra-flash icon indicating copy to clipboard operation
sinatra-flash copied to clipboard

Losing session data with Rack::Session::Pool

Open auxbuss opened this issue 12 years ago • 0 comments

This gist https://gist.github.com/3899237 demonstrates a problem I discovered while testing. It can be run as a standalone test.

When making consecutive calls to a sinatra app, the whole of the session is empty on the second call when the first call uses flash.

I've left in a debug in sinatra's before to show that the expected session data is not there on the latter call.

auxbuss avatar Oct 16 '12 13:10 auxbuss