Jump to content

Recommended Posts

Posted

Hi

 

I set SessionRestrict=srOnePerPC , But any user can open my application by two or more tab.

How to can control it?

How to close a user's session after a certain hour that did not work with the application?

 

Regards.

  • Administrators
Posted
34 minutes ago, A.Soltani said:

Hi

 

I set SessionRestrict=srOnePerPC , But any user can open my application by two or more tab.

How to can control it?

How to close a user's session after a certain hour that did not work with the application?

 

Regards.

Is your app running on HyperServer?

Posted
On 4/18/2020 at 9:36 AM, A.Soltani said:

How to close a user's session after a certain hour that did not work with the application?

Hi,

Resume :

ServerModule >  SessionTimeOut  is enough for closing a session.

If the sessions could'nt close,  that mean two possibilities :

- an UniTimer is working on the MainForm

- or Your MainModule has an extendTimeOut

procedure TUniMainModule.UniGUIMainModuleSessionTimeout(ASession: TObject;
  var ExtendTimeOut: Integer);
begin
  ExtendTimeOut:=60000;   // This will extend the Session for an other 60 sec
end;

// See Demo :  C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\SessionTimeout

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...