Property definitions

popcorn $ SessionInit :: defaultinit
# Initialize session in request if non existent.
#
# Should be called before any use of the session.
# ~~~
# import popcorn
#
# var app = new App
# app.use_before("/*", new SessionInit)
# # ... other middlewares
# app.listen("localhost", 3000)
# ~~~
class SessionInit
	super Handler

	redef fun all(req, res) do if req.session == null then req.session = new Session
end
lib/popcorn/pop_sessions.nit:57,1--72,3