HttpSession in Controller Command

The following code give a reference to HttpSession object in a WebSphere Commerce Controller Command.

HttpSession session = ((com.ibm.commerce.webcontroller.HttpControllerRequestObject)  getCommandContext().getRequest()).getHttpRequest().getSession();
Did you like this? If so, please
tell a friend
about it, and subscribe to the blog RSS feed.

Share/Save/Bookmark

If you enjoyed this post, make sure you subscribe to my RSS feed!



Related Posts:
  • Database entries required for creating a new controller command in WCS 5.6
  • Creating a new Key in WCS
  • WebSphere Commerce Developer Enterprise 6.0 installation – Part 2
  • WebSphere Commerce Developer Enterprise 6.0 installation – Part 1
  • User types in WebSphere Commerce


  • No Responses to “HttpSession in Controller Command”  

    1. No Comments

    Leave a Reply