#1 2015-06-09 10:06:52

ralex
Member
Registered: 2015-04-20

Why is the session timeout so long?

Hi,
I have been working with reportserver for a while and everything is just fine.
Today I run two load stressing test (each one was 500 http requests in 1 second ), after tuning tomcat 7, and everything went well.
The only thing I have noticed is that despite each single http response has been run in almost 30 seconds the session stay up because the session timeout is set 4 hours.
All this means that I have more than 1000 active sessions even if all http requests are terminated for more than two hours.
So my question is : What is the reason for setting a session timeout so long?
In term of resource comsunption keeping a session timeout so long is a good practice??
I would like to low this value in the web.xml . Any suggestion?

Cheers,

Alex

Offline

#2 2015-06-09 10:14:15

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Why is the session timeout so long?

Hi Alex,

there is no problem with reducing the session timeout. The reason we have gone for a rather high value was that we did not want to force users that are running ReportServer (in the back) and only occasionally perform an action to have to login after being idle for a while. In particular in connection with a single-sign-on solution (or depending on how ReportServer is used) this timeout may indeed be rather high and could be lowered. Bottom line, there is no technical reason why this value is set to 4 hours.

Cheers
-Arno

Offline

#3 2019-09-05 06:45:10

Patryx
Member
Registered: 2019-03-25

Re: Why is the session timeout so long?

Hi Arno,
You wrote: "there is no problem with reducing the session timeout" but where can we influence on the session timeout?
Is connected with connection pool set in pool.cf?

Thanks in advance,
Patryk

Offline

#4 2019-09-05 08:55:45

jalbrecht
Administrator
Registered: 2016-10-21

Re: Why is the session timeout so long?

Hello,
pls. check
https://reportserver.net/en/guides/conf … roperties/
for further information on connection pool configuration.
wbr jan

Offline

#5 2019-09-16 14:32:05

Patryx
Member
Registered: 2019-03-25

Re: Why is the session timeout so long?

Hi,
I checked information but still I don't know which parameter is reponsible for logging me out from ReportServer.
Could you tell me which one?
I want to influence on time after which ReportServer automatically log me out because now I cannot control it.
Thank you in advance.

Offline

#6 2019-09-23 12:21:02

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Why is the session timeout so long?

Hi Patryx,

please check the web.xml file, session-timeout setting.

Regards,
Eduardo

Offline

#7 2019-09-25 08:32:40

Patryx
Member
Registered: 2019-03-25

Re: Why is the session timeout so long?

Thanks Eduardo

Offline

Board footer

Powered by FluxBB