0 Replies Latest reply on May 31, 2012 12:07 AM by gebuh

    maintaining state across user session

    gebuh

      We have 6 or 7 search pages (with varying numbers and types of search criteria) in our application and it looks like that number is going to increase.  The requirement I was originally tasked with was to maintain selected search criteria during a user's session, so whatever you enter in any of the various dropdowns, checkboxes, etc, will stay there until you reset it or your session ends, no matter where you navigate in the application.  I used session scoped beans to do this. 

      Now I'm wondering if that was such a good idea, the search screens are increasing and getting more complex and we've recently implemented dynamic menus(menus vary by the user's permissions and role and are loaded into the user's session from the database during login).

      Is there a better way to do this?