stephenjbell

Show all available session attributes (dotCMS)

Mar 21st, 2011
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. ## Show all of the variables that are available from the session
  2. #foreach($thing in $session.getAttributeNames())
  3.  
  4. <strong>$thing</strong> $session.getAttribute($thing)<br/>
  5.  
  6. #end
Advertisement
Add Comment
Please, Sign In to add comment