#1 2012-02-20 11:57:04

lestat
Member
From: Italy
Registered: 2012-02-20
Posts: 11

Session Timeout

How can i change the default value for the session's timeout?

Offline

#2 2012-02-20 13:22:01

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Re: Session Timeout

I think you should change SessionTimeout of your TSQLAuthGroup.

Offline

#3 2012-04-11 14:46:11

lestat
Member
From: Italy
Registered: 2012-02-20
Posts: 11

Re: Session Timeout

I return after a long time to this question...

i changed the value AUser.AuthUser.GroupRights.SessionTimeout to 1,2,3 but the sessions never expire.

Does the timeout works?

thanx

Offline

#4 2012-04-11 15:25:58

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Re: Session Timeout

The timeout works in this way.
1) In AuthUser table you must set the GroupRights of your user;
2) On AuthGroup table you can set SessionTimuout for the GroupRights;

For example, the framwork by defualt, create a Admin user on AuthUser table, this use have GroupRights set to 1. On AuthGroup table the record with ID=1 have SessionTimeout set to 10. So the user Admin have 10 minutes of timeout.
If you use the authentication on your database and use setUser('Admin', 'synopse'); the timeout (=time from last time the user have use the database) will be 10 minutes, after this time if the user will be try to use the database will receive all black object and TSQLRestClientURI.OnAuthentificationFailed event will be call.

that's all

Last edited by array81 (2012-04-11 15:26:38)

Offline

Board footer

Powered by FluxBB