Web forms are session-based, and these sessions are automatically recycled by IIS every 20 minutes by default. To prevent losing your data, you should add the following code to your web forms code-behind’s page constructor method:
C#
Examplepublic partial class _Default : WorkflowPage { public _Default() : base() { IsSimpleMode = true; IsSessionLess = true; }}
VB.NET
ExamplePublic Class _Default Inherits WorkflowPage Public Sub New() MyBase.New IsSimpleMode = true IsSessionLess = true End SubEnd Class