Synchronizing Objects Stored in Session

Discussions

Web tier: servlets, JSP, Web frameworks: Synchronizing Objects Stored in Session

  1. Synchronizing Objects Stored in Session (1 messages)

    should we synchronize objects stored in session if it is assumed by any means that client would not open more than one browser for particular webapp
  2. In most cases, you can get away with not synchronizing session data. It is rare that a single user will invoke multiple servlets at the same time. Watch out for the following pit-falls, though:

    1) Framesets

    2) Popup windows

    3) Long running processes (which might cause the user to click the submit button more than once).