How to get session in template?

Oct 21, 2010 at 3:46 AM


I have a session and now I want to get value of session in view template.

Pls help!

Oct 21, 2010 at 1:41 PM

According to NVelocity documentation, there is '$session' available:

Oct 22, 2010 at 4:29 AM

@mattgroves: Thanks you, but this link not have details for get a session, sample

Anyone help me?

Oct 22, 2010 at 4:11 PM

What exactly are you asking? It provides access to the session object via $session. From there you can use it just like you use the session in C#.

Oct 22, 2010 at 10:47 PM
Edited Oct 28, 2010 at 11:11 PM

done, solved