Persistent variables
.NET variables declared in server-side scripts go out of scope as soon as the method completes. Also, static variables on the script classes are not supported.
To persist data, use these APIs:
- SessionVariables defines variables that go out of scope when the session ends. These general variables are accessible across pages for as long as the session lasts.
- LayoutVariables defines variables that are specific to a display layout within an FDF instance. They can be used to persist data across script API calls in the session.