Return to Snippet

Revision: 5969
at April 17, 2008 16:18 by mugafuga

Initial Code
public HttpSession getSession() 
  return (HttpSession) getFacesContext().getExternalContext().getSession(false);

Initial URL

Initial Description
Who cares about manipulating Maps when you can just use the HttpSession object instead right inside your page code backing bean. Who woulda thunk people would like that better. Just add this to your class

Initial Title
PageCodeBase getSession method instead of sessionMap

Initial Tags

Initial Language