Project

General

Profile

Actions

Feature #7742

closed

Suspend/restore of sessions

Added by Roel Standaert about 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
Start date:
09/30/2020
Due date:
% Done:

100%

Estimated time:

Description

Typically, in the case of payment providers or single sign on systems, the user is redirected to perform the payment or login, and then redirected back to the application.

Wt currently removes the session when the user moves away from it (react to the unload event), or expires it after a while.

Because of this, payment or login is usually performed in a popup window, so the session can stay active.

We should be able to suspend a session before the redirect, and restore the session when redirected back, so the popup window is no longer necessary.


Related issues 2 (0 open2 closed)

Related to Improvements #8660: Make redirect the default OAuth method?ClosedRoel Standaert06/08/2021

Actions
Related to Feature #9439: Enable popup-less mode for SAML loginClosedRoel Standaert12/02/2021

Actions
Actions #1

Updated by Roel Standaert about 4 years ago

  • Description updated (diff)
  • Assignee set to Roel Standaert

Possible interface:

class WApplication {
public:
  std::string suspend(std::chrono::steady_clock::duration expirationTime);
}

Suspends the session after the response is sent to the browser, returning the URL that can be used to wake up and resume the session. The optional duration indicates how long the session should remain suspended before it expires. By default, this time is unlimited? Maybe some other default with the option to set it to unlimited? Maybe add a configuration option for this expiration time?

Should some extra security be applied, e.g. a cookie?

Actions #2

Updated by Roel Standaert about 4 years ago

  • Target version set to 4.6.0
Actions #3

Updated by Roel Standaert over 3 years ago

  • Status changed from New to InProgress
Actions #4

Updated by Roel Standaert over 3 years ago

  • Status changed from InProgress to Review
Actions #5

Updated by Roel Standaert over 3 years ago

Actions #6

Updated by Roel Standaert over 3 years ago

  • Status changed from Review to Resolved
Actions #7

Updated by Roel Standaert over 3 years ago

  • % Done changed from 0 to 100
Actions #8

Updated by Roel Standaert about 3 years ago

  • Related to Feature #9439: Enable popup-less mode for SAML login added
Actions #9

Updated by Roel Standaert almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF