BA#011 - What should be the scope of a formhandler?

Generally, the scope of a formhandler should be request, because each form submission should be a separate request. We dont want the form values to be replaced in a session, or globally by any user.
In some cases session-scoped formhandlers can also be used in multi-page forms. However, it is not a good approach, and there are other ways to handle it (with each submission, data can be stored in session or repository based on scenario)

Asked By: Sapient

Other ATG Questions (General Topics):-

No comments:

Post a Comment


Get All The Latest Updates Delivered Straight Into Your Inbox For Free!