Performance: How to configure WorkflowGen and Visual Studio web forms in sessionless


#1

Notes

  • This applies only to WorkflowGen versions 5.7.2 and later, and only if your Visual Studio web forms do not use session variables to store data.
  • As of WorkflowGen version 6.0.2, the web configuration is set to sessionless by default.

To configure WorkflowGen and Visual Studio web forms in sessionless for improved response time, the parameters listed below must be set as follows.

Without Visual Studio web forms

  • WorkflowGen web.config:
#### With Visual Studio web forms using WorkflowGen.My WorkflowFileUpload v2.3.8.1+
  • WorkflowGen web.config:
  • The this.IsSessionLess parameter must be set to 'true' in the web form constructor (see below for sample code)
#### With Visual Studio web forms using WorkflowGen.My WorkflowFileUpload v2.3.8.0 and older
  • WorkflowGen web.config:
  • Web form web.config:
  • The this.IsSessionLess parameter must be set to 'true' in the web form constructor (see below for sample code)
#### Sample code to set the web form in sessionless
public partial class _Default : WorkflowPage
{
    public _Default() : base()
    {
        this.IsSessionLess = true;
    }
}