#import "../layout/defaultLayout.ftl.html" as layout> <@layout.myLayout
"Home page">
Session Cookie support
And currently the username stored in the session is: ${username}
If you use firebug or any other tool you can spot the session attached to the request.
@layout.myLayout>