function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Haystack CertifiedHaystack Certified 

Programmitically check if View State is missing

Is there a way for a custom controller to programmatically check if the view state exists?  I am troubleshooting an issue where it seems the view state is missing and the controller's constructor runs again. This occurs intermittently, so I am considering detecting this situation and creating a log entry in my logger table.