I need to access a session variable from one of the FreeMarker Theme templates, and I can't seem to find the proper syntax. One site said to use ${Session.formToken}, but that seems to give me a lovely red on yellow error box across my display. I've also tried ${#session.formToken} thinking OGNL would take over, but that gives me:
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Lexical error at line 1, column 50. Encountered: "#" (35), after : "" Is it possible to access the session attributes? (*Chris*)