12-02-2019, 02:17 PM
Hi,
Can I set ServerController.SessionTimout to be User specific?
Mikael
Can I set ServerController.SessionTimout to be User specific?
Mikael
SessionTimeout
|
12-02-2019, 02:17 PM
Hi,
Can I set ServerController.SessionTimout to be User specific? Mikael
12-03-2019, 08:16 AM
Yes, IWApplication.SessionTimeout is a public property. You can set it at anytime (e.g.when session is firstly created or after a successful user login)
12-03-2019, 11:06 AM
Hi,
It does not work. It's still the value you have set up from the start that is the the timeout value This is ignored: .. .. 0: Begin { Logon ok } InitateUserPartdata(UserId); IWServerController.SessionTimeout:=(60 * 5); { 5 hours } If (UserSession.SysUser) then begin IWServerController.SessionTimeout:=60; end; if (UserSession.UserId = 'NXXXI1') then begin { My test } IWServerController.SessionTimeout:=5; end;
12-03-2019, 11:30 AM
You should change the value for the WebApplication object (which is for the session), not the (global) ServerController default value.
12-03-2019, 11:54 AM
Thanks,
working |
« Next Oldest | Next Newest »
|