Posted on February 11, 2013 Leave a Comment
Use the transient keyword to declare instance variables that can’t be saved, and shouldn’t be transmitted as part of the view state for a Visualforce page. For example: Transient Integer calculateTotalOpportunityAmount; Common use case: use transient keyword for field on a Visualforce page that is needed only for the duration of a page request, but […]