WebSession.ConfirmDisconnectMessage
From Xojo Documentation
Property (As String )
aWebSession.ConfirmDisconnectMessage = newStringValue
or
StringValue = aWebSession.ConfirmDisconnectMessage
New in 2020r1
Supported for all project types and targets.
or
StringValue = aWebSession.ConfirmDisconnectMessage
New in 2020r1
Supported for all project types and targets.
The text the user will see to confirm they wish to end their session.
Notes
Whether this message appears and how it appears is determined by the web browser. You should only set this property in the Inspector. Changing it in code will not likely do anything.
The dialog may also not appear if the user has not interacted with the page in some way.
See Also
DisconnectMessage and InterruptionMessage properties.