<#import "../layout/defaultLayout.ftl.html" as layout> <@layout.myLayout "Home page">

Session Cookie support


You now got a session cookie attached to your browsing session.

And currently the username stored in the session is: ${session.username}
They can be easily accessed in your template by calling the key as variable.

If you use firebug or any other tool you can spot the session attached to the request.