Login Timeouts

I set the TSphinxClientApp.LoginTimeout for my webcore app to 10 minutes

ClientApp.LoginTimeout := 10 * 60;

but the transaction id still seems to expire after 2 minutes. Do I need to set something else?

Can you try to debug Sphinx.Endpoints.Authorize unit, around line 420, you will see:

    LoginTimeout :=  TTimeSpan.FromSeconds(Defaults.LoginTimeout);
    Client.GetLoginTimeout(LoginTimeout);
    Transaction.ExpiresOn := Transaction.CreatedOn + LoginTimeout;

Try to check if the values (LoginTImeout and Transaction.ExpiresOn) are set correctly according to what you passed to it.

That is correctly setting the expires value. We'll do some more testing and will feedback here.

1 Like