WorkflowGen.com | Knowledge Base | Documentation | Downloads | Support | RSS

« Can I develop web forms for my WorkflowGen processes using .Net Framework 3.5? | Main | How do I change the Portal Banner Height? »

Why are my web forms getting a Time Out Expired error when I submit the form.

Posted on Sunday, April 6, 2008 at 16:32 by Registered CommenterWFG Team in , | CommentsPost a Comment

Web forms are session based and these sessions are automatically recycled by IIS every 20 minutes by default.  To eliminate losing your data, you should add the following code to your web forms code-behind's page consctructor method.

C#

Example

public partial class _Default : WorkflowPage
{
  public _Default() : base()
  {
    IsSimpleMode = true;
    IsSessionLess = true;
  }
}

VB.NET

Example

Public Class _Default
    Inherits WorkflowPage
   
    Public Sub New()
        MyBase.New
        IsSimpleMode = true
        IsSessionLess = true
    End Sub
End Class

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.
Member Account Required
You must have a member account on this website in order to post comments. Log in to your account to enable posting.