Brian, Thanks for the ideas. I'll use It. When I've checked my HTML code like you wrote it, I found MY error. It's not Sinatra the problem. I use a helper but in this helper I use a session variable like 'session[:my_data]'. The helper's method is called in my HTML code and the session variable is not evaluated. So, be careful when using var. in helper's method. -- Posted via http://www.ruby-forum.com/.