Hi there,
When I consult my application from a smartphone (Android or iPhone), I am disconnected after the home page.
Are you encountering the same issue ?

Hi Vincent,
Please make sure your browser accepts cookies:
No change (Android)
Does it work for you?
Yes, it works on iPhone
To see what happens, we need:
- a screencast with date-time,
- the phone IP (Wifi recommended),
- the app's Session and Log tables
TIA
Here is the screencast, 17/09/2022 - 16h54:
I send you the table by e-mail

The second request that initializes the form tabord.scx
increments the tab ID from 3 to 4, as if the page opened in a new tab:
{wwRequestLog.dbf}
17/09/22 16:54:43,"3580_6FI108X8J-001","tabbord.doo","86.225.243.38","11401564",F,"6FH0QSIAA_3","tabbord.scx",0,0,0,000,0,000,0,000,0,000,0,000,0,000,0,437,0,000,0,000,0,000,0,016,0,47,0,000,0,000,0,45,0,0,F
17/09/22 16:54:44,"3580_6FI108Y0B-001","methexec.doo","86.225.243.38","11375872",F,"6FH0QSIAA_4","tabbord.scx",1,0,0,016,0,031,0,000,0,000,0,000,0,015,0,000,0,000,0,000,0,000,0,000,0,08,0,000,0,000,0,06,0,5,F
New user ID opens a new session.
Same thing when I try to connect directly in the folder, without going through the dashboard (12h21 - ip 109.xxx.xxx.xxx)
But why is this only a problem on smartphones (same problem with my wife's iphone) ?
iPhone, Android
All browsers? which ones ?
neither Chrome nor Safari
From Safari it's OK
Could reproduce on Chrome 105.0.5195
for iOS (iPhone).
The only possible explanation is that Chrome on iOS and/or Android does not support the window.onunload
event although it's supposed to.
Requires additional research before changing a feature respecting the standards.
Thank you Thierry for your perseverance !
It's unclear how to be sure that the window.onunload
event fires properly.
we'll test document.visibilitychange
event instead.