You are viewing limited content. For full access, please sign in.

Question

Question

Session Timeout for Laserfiche 10.2

asked on April 19, 2017

Hello,

I am using Laserfiche Rio 10.2 Forms and I have a public form that has and anonymous access.

We want to know if there is a session timeout if the session is idle . if yes, what is the timeout and how to change it.

Do we have a message when the session expires? or its only when we submit the form that the message appears and clears the form?

Regards,

-Guillaume

0 0

Replies

replied on April 19, 2017 Show version history

I asked a similar question some time ago and can't find the post, but @████████ pointed me to a blog post that had the following in it from it's author:

"In my opinion the biggest source of problems in new IIS configurations is Application Pool Recycling. This is the one area where the default IIS settings are problematic for most applications. As a general rule of thumb, you want to minimize the number of Recycles that occur, and when they do occur it should be well controlled. Here’s what you need to look at: 

 

  • Application Pool Idle Timeout – The default is 20 minutes, if your app gets no requests in 20 minutes then the App Pool will shut down. Change this 0. 
  • Regular Time Interval – The default is 1740 minutes, every 29 hours the App Pool will recycle, regardless of activity. You don’t want that happening, set this to 0. 
  • Specific Times – By default no schedule is set, I would recommend setting an off peak time to recycle like 4AM. 

 

Most importantly, because I constantly see developers and administrators doing this. Stop using IISReset!! A lot of people cling to this idea from IIS 5, and it only destabilizes your environment. Unless your installing ISAPI Filters or other System level change, you don’t need an IISReset. Recycle the App Pool in question if its needed, but do not restart IIS."

I did this on the production server I was in charge of at the time and it seemed to help with the same issue you are asking about.

3 0
replied on August 9, 2018

Mobile was set to 30 minutes instead of 20. Is there any concern changing the mobile app pool to 0 time out?

0 0
replied on April 19, 2017 Show version history

Hi Guillaume, there won't be a message as soon as you run into the idle timeout.

This timeout would be controlled by the application pool used for Forms (by default installed as FormsAppPool). This can be increased from IIS Manager > Application Pools > FormsAppPool > Advanced Settings > Idle Time-out; by default the value is 20 minutes.

The reason you wouldn't see a message is because when the application pool hits this idle time-out for the worker process serving the form, it de-spawns the worker process. So when trying to submit the form, there is no process to handle it and a new one is spawned - but this clears the form.

I haven't tried this myself, but you might also try changing the Idle Time-out Action of the application pool to "Suspend" instead of the default "Terminate". You can read more about the Idle Time-out action here. Suspended worker processes "sleep" when hitting the time-out, but if it is common for this to occur, this could take up system resources if there are many worker processes to keep alive.

Edit: It's also possible that these could be caused by the application pool recycling; see this post for more on that. The above was specifically for sessions expiring from idleness.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.