Hi, Don't use the HttpSession, use Magnolia's context.
If you need the session (but I wouldn't use it!) you can get it via the context: ctx.webcontext.request.session Regards from Vienna, Richard > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:dev-list-owner@magnolia- > cms.com] Im Auftrag von Nirmal Sharma (via Magnolia Forums) > Gesendet: Dienstag, 19. November 2013 15:05 > An: Magnolia Dev List > Betreff: [magnolia-dev] HttpSession in FTL > > Hi, > > How can we access HttpSession object in Freemarker Templates. Please help > us how can we do this? > > Thanks, > Nirmal Sharma > > -- > Context is everything: http://forum.magnolia- > cms.com/forum/thread.html?threadId=edf56a83-8c83-48be-bf3d- > 8ab16d3dfe65 > > > ---------------------------------------------------------------- > For list details, see: http://www.magnolia-cms.com/community/mailing- > lists.html > Alternatively, use our forums: http://forum.magnolia-cms.com/ > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
