Project

General

Profile

Actions

Support #6813

closed

Session closing event

Added by Mahmudul Hasan over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/07/2019
Due date:
% Done:

0%

Estimated time:

Description

Is there any way to determine that the session is going to be closed?

Actions #1

Updated by Roel Standaert over 5 years ago

  • Status changed from New to Feedback
  • Priority changed from Immediate to Normal

What do you mean by "closed"?

When the user closes the window or the tab, then the server may receive a signal notifying that that application must destroy itself. This is browser-dependent, since you can't guarantee that the browser will still send a request after the tab has been closed.

Otherwise, the session will eventually time out.

In any case, the WApplication will be destroyed, so you can use the destructor to do any necessary cleanup.

Actions #2

Updated by Roel Standaert over 4 years ago

  • Status changed from Feedback to Closed

Closing this issue due to inactivity. I hope my explanation was of some help.

Actions

Also available in: Atom PDF