Better handling of login timeout in Reggie wizards
|Reported by:||Nicklas Nordborg||Owned by:||Nicklas Nordborg|
Some of the Reggie wizards may take some time to complete, for example, the partition wizard. Even though BASE has been designed to keep the user logged in as long as the browser is open, there are cases when this is not working. Trying to finalize the registration in Reggie will in this case results in a confusing situation. The registration form is disabled and greyed out, but there is no message about either successful or failed registration.
Behind the scenes the Ajax request for saving the information is redirected to the login page which, of course, can't be displayed since this is a non-interactive process.
Fortunately, the partition wizard remember all values and is capable of recovering from this scenario if the user starts a new session. But this may not be the case for other wizards.
Possible solutions to this problem:
- Implement a session keep-alive feature in Reggie that is able to perform better than the one in BASE. This could use Ajax requests and
- Implement a feature to check if a user is logged in or not. Then, present an interface to login again if needed. Requires a bit more work.
- A combination of the above.