How get session variable inside layout.

1) I want to show the logged-in user name in layout page. I have tried
to access the session  variable inside the controller and set the
value to property bag and then access it in layout page $username.


2) I have inherited the controller from a base page and in the base
page constructor i tried to access session, but i am not able to
access the session inside the constructor.


3) I am able to access the session inside filter, but property bag is
not available inside filter.


I am sure this is not proper mechanism to access the session variable
in side layout. Can anyone help me please?


Sorry for asking basic question. Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to