2

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?

4

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.