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. These variables will not persist across multiple transactions or when a visualforce page is refreshed.