Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Session lifetime limits for Workflow

Created: 24 Mar 2014 • Updated: 31 Mar 2014 | 2 comments
Andrey Tatarnikov's picture
This issue has been solved. See solution.

HI all,
For one of our customers we have created custom UI based on Workflow Forms (Web).
When user opens this form it is opnening via URL like this: http://wf/LCM21/Form.aspx?s=cmlp4EnAfU27joXol3G3zQ
After a few minutes of inactivity (while user doesn't do anything in UI) user tries to refresh page with F5 and Workflow fails with error: "System.Exception: The dialog session named 'cmlp4EnAfU27joXol3G3zQ' was not found".
It looks like Workflow (or IIS?) has some session lifetime limitations, so how (and where?) could I change this limit?

Operating Systems:

Comments 2 CommentsJump to latest comment

michael.george's picture

I'd check a couple things: the recycle times for your IIS apppool, the process manager portal master settings, and the session state options. The application pool default in IIS is to recycle after 20 minutes I think. A recycle would kill off any session. The process manager portal master settings include an option for session timeout, but this should only affect the portal, not your application, but it's something to try. The session state options in IIS contains a session time out number of 20 minutes as well. I'm not sure that second one affects workflow, but it would be worth a try.

If a post solves your issue, please mark it as a solution. It makes these forums better for everyone.

SOLUTION
Andrey Tatarnikov's picture

I figured out that this limit is "Idle Time-out (minutes)" setting in Application Pool Advanced Settings.