#import "../layout/defaultLayout.ftl.html" as layout> <@layout.myLayout
"Home page">
Session Cookie support
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.
@layout.myLayout>