Optional Features >> Disable sessions for web api
Gastón Salomone
10-3-24
Operating system: macOS
Hi,

I cannot find any information on about this feature on hansamanual.

That is the purpose, is it working, how it works or how must be configured to work ?

For REST API many web request per second could occure, if customer database has reach the limit of logged users using client Software for a moment, all web requests, including RESTAPI fail with unauthorized access using Basic authentication. User and password provided is OK but as soon any user logout web request works perfectly.

All web request require user space to login and read data ?
It there any way to configure SERP just to validate login information, but not consume a user session ? At least for reading data.

How someone could help me with information on this matter.

Thanks
Carolina Valentino
10-9-24
Thanks Gaston, someone of the team ll answer you
10-10-24
Hey!

What is the user type you are using for API calls? Is it concurrent?
Gastón Salomone
10-10-24
Hi,

These are the specs:

SERP version is 8.5 2024-04-17 (build 85554577)
2 concurrent users, No Nomminal users in contract
3 concurrent users created in DB, 1 for using throught REST API

Scenario:
Only User1 connect, RESTAPI request some data, everything ok
User1 and User2 connect, RESTAPI request some data, Unothorized access status error received.
User2 logout, RESTAPI request some data, everything ok

I´m using POSTMAN to do test.
Ive made test with and without Optional Features >> Disable sessions for web api, checked.
Both using basic authentication and OAuth

Seems that once User limit is reached on logged users using client SERP, no more RESTAPI request can b made.



10-11-24
Sorry - I think I initially misunderstood your question...
Yes - using REST API needs to have a user and a free user space.
If you use a named user - that user has to be dedicated to the API (or ensure that readings are done when the user is not logged in to the system).
If the readings are done with a concurrent user - same idea - there has to be a space for the connection.
REST API usage is considered the same as user - just as if you would log in to the system and read / write the data yourself.
View all Questions
Back to the list
Latest Posts
Ibrahim Bashir
Hello, System >> Settings >> Optional Features >> Idle User Timeout (Minutes) this is configured to 15 minutes in my setup. is there a way to make this works per user? or skip s...
04:56 29 Nov 2024
Reino Botha
Please check your version of android if it is the same as the server you are connecting too. ...
08:24 21 Nov 2024