Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time out on login doesn't go to login page #561

Closed
pjcross opened this issue Jan 13, 2016 · 1 comment
Closed

Time out on login doesn't go to login page #561

pjcross opened this issue Jan 13, 2016 · 1 comment

Comments

@pjcross
Copy link
Contributor

pjcross commented Jan 13, 2016

I left myself logged in overnight. In the morning my session was expired. My webpage was still visible (I was in a parameter image model). As I hovered over one of the points, the Remote Login popup appeared. I logged in, but since my session was expired, the remote login was not what was really needed. The popup display the error message - "Error opening remote session: Temporary Redirect". This really didn't tell me as a user that the session was expired, nor did it redirect me to the top level login page. As a user I'd be stuck at this point since using the popup to login again wouldn't do anything. Instead of the popup, the user should be redirected to the login page once they try to interact with a model after the session has expired.

I put this into a separate issue, even though it is related to issue #560, because this is really a bug.

@Mletter1
Copy link
Collaborator

I think this should be done with the

<element onload=timeoutScript()> 

maybe something like

<body onload="setTimeout('window.location = \'server_root\/\';', (session_max-(current_time-session_start)));">

alexsielicki pushed a commit that referenced this issue Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants