I would like to get the session in a Razor Template. I have tried TridionHelper.Session and also Session and _session with no luck. Any ideas?
1 Answer
The Session in Tom.Net is available on most objects as '.Session'. I got a nice hint from Frank Taylor's blog post where he used Component.TridionObject.Session and then I was also able to use myStructureGroup.Session.