Hi Thierry,
What causes the message "Your session has expired, you will be redirected to the home page to re-identify yourself"? Because it seems to happen randomly
Hi Vincent,
please see xxx.ini > SessionTimeOutMin
The value is set to 30. But some users are disconnected after 2 minutes or less.
Works fine in all FoxInCloud applications I know of; I suspect your application somehow closes the session and/or clears wUserID
Do you have a repro scenario?
I can not find wUserID. Is this wcUserID ?
When a user leaves the application, I have a xxx.wUserLogOff.
Something to edit in xxxServer.prg ?
thank you in advance
here are the methods that close the session:
.wUserLogOff()
Session.EndSession()
no other setting influences
you can check in wwSession
the date-time when session was closed and see what request the user has made at this same date-time
OK, thanks.
It seems that it is sometimes the connection of a user that causes the premature end of the session of another. Random, failed to accurately reproduce.
OK I now understand the scenario.
Only one single user can be connected at a time with a given wUser
ID. If another user attempts to connect, the first user is disconnected.
This helps software editors sell licenses based on the number of concurrent users (standard SAAS business model) without a possible cheat.
Only xxxServer.wUserDemo
supports multiple connexions.
Sorry I do not understand. There can only be one user connected to our platform ?
with a given wUser ID
one user per wUser
ID
In my case, it seems to me that the id is provided by the folder number no ? In this case, why connecting to a folder would cause the disconnection of someone connected to another folder ?
Sorry, I'm floundering
exactly, in your case, one user at a time per folder
disconnection only if the same folder
Thank you Thierry, that's what I thought.
I am reassured on this side but my question remains intact. I do not understand the origin of these repeated disconnections.