Problems with redirect after re-login after expired session in DA

flexjoly

Verified User
Joined
Nov 2, 2016
Messages
86
Location
Apeldoorn, Netherlands
Hi,

I tried to search for this, but could not find much.

After a while the session from DA is expired and you need to login (as admin) again. This is a good thing!
But after logging in again you are redirected to the last page/script.... And that can be everything....

Like updating items in custombuild, editing a conf-file in the file editor, running a bash-script in by a plugin, looking at the file-manager in an user-account etc.
The problem is that the redirect cause the page OR script to load/run again.... and that is very tricky. When you were logged in as a user before expiring, DA tries to go back to the user-page/script and gives an error that (as admin) you have no permission to go there or that it cannot load that page.

Can you please make that DA redirects to the main-page??

In my case I have some bash-scripts in a plugin to run yum-updates or restart the postgres-server. Because some of those scripts take a while, I leave it open and do other stuff. Many times I need to login again when coming back and forgot about my last action. And then see DA rerunning the latest script and I cannot prevent that :eek::eek:

Can you please do something about this? Or am I missing an option that already exists?

Thanks in advance,
flexJoly
 
So it only after time out, correct? Because if I Log out it goes home every time.
 
De url from the last visited page, is still there.
So my guess is that after login, DA uses this url to reload itself.

1588336890967.png


1588337137129.png
 
Back
Top