SessionTimeout setting

MiServer is Dyalog's APL-based web development framework
Post Reply
Gantois
Posts: 91
Joined: Thu Apr 17, 2014 9:44 am

SessionTimeout setting

Post by Gantois »

Hi Friends,

I am making timeout tests on my miserver app. For this purpose, I'm trying to change the default SessionTimeOut to 1 minute in \Config\Server.xml seting as following:

<SessionTimeout>1</SessionTimeout>

It's not working. My miserver version is: v2.1 and the time remain 10 minutes

Could someone help me?
Tanks,
Marco
User avatar
Brian|Dyalog
Posts: 120
Joined: Thu Nov 26, 2009 4:02 pm
Location: West Henrietta, NY

Re: SessionTimeout setting

Post by Brian|Dyalog »

Hi Marco,

There isn't a <SessionTimeout> setting in MiServer 2, it's something we introduced with MiServer 3.0. To change it in MiServer 2, edit the SimpleSessions.dyalog file and change the line that reads:

:Field Public TimeOut←10 ⍝ Minutes

to whatever value you want.

I hope this helps!
/Brian
Gantois
Posts: 91
Joined: Thu Apr 17, 2014 9:44 am

Re: SessionTimeout setting

Post by Gantois »

Thanks Brian
Att, Marco
Post Reply