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?

1 Answer 1

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 and acknowledge you have read our privacy policy.

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