# File lib/cgikit/handler.rb, line 20 def session_id_from_cookie( request ) sid = nil cookie = request.cookie(@application.session_key) if cookie then sid = cookie.value unless Session.session_id?(sid) then sid = nil end end sid end