Konstantin
> --
> You received this message because you are subscribed to the Google Groups "sinatrarb" group.
> To post to this group, send email to sina...@googlegroups.com.
> To unsubscribe from this group, send email to sinatrarb+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sinatrarb?hl=en.
> I have been trying to use sessions in Sinatra for some time now, but for some reason session variables are not being set. I using sinatra version 1.2.3. Here is the repository with all the code: https://github.com/AzizLight/wiki
If you use shotgun in development mode you should set session secret for sessions to work.
set :session_secret, "here be dragons"
--
Mika Tuupola
http://www.appelsiini.net/
On Apr 15, 2011, at 15:30 , Aziz Light wrote:
> Ah thanks a lot. It works perfectly with the fix if I use Sinatra's sessions but if I use Rack::Session::Pool it doesn't work with shotgun. I can live with that. Once again thanks a lot.
>
Konstantin