Results 1 to 2 of 2

Thread: ability to set custom session values

  1. #1

    Default ability to set custom session values

    I'd very much like the ability to something like setSessionObj(Object obj, String str) on anything that creates a user session.... so I can use it downstream in other classes

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    You can use WMSProperties:

    httpSession.getProperties().setProperty("var", "val");
      
    String var = httpSession.getProperties().getPropertyStr("var");
    Richard

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •