Issue Number | 217 |
---|---|
Summary | [General] Logout message |
Created | 2014-07-07 13:46:37 |
Issue Type | Inquiry |
Submitted By | Juthe, Robin (NIH/NCI) [E] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2014-08-13 17:47:08 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/oceebms/issue.133679 |
We're wondering if it would be possible for the system to indicate that you've been logged off and/or prevent us from taking actions (such as checking various pass/reject/fyi buttons when reviewing articles) if we have been logged off. Either the screen could jump back to the login page, or an error message could pop up saying we've been logged off. It's frustrating to complete 30+ reviews only to find out you've been logged off and the decisions won't be saved. Is one of these options possible or are there other solutions?
There is a logout message on DEV, but I don't think I've ever seen this on PROD. I'm attaching a screenshot from DEV.
I did a proof-of-concept for this one when I was waiting for feedback on the active EBMS tickets. I used a third-party module to provide a popup warning that your session was going to be logged out, and giving you an opportunity to keep it alive. Won't be rolled up the tiers as long as this ticket is in the backlog, but the solution appears to work.
Ah, that makes sense.
Do you know how long one must be idle for the warning popup message to come up? And, if ignored, how long before you are logged off?
That's configurable. I set the popup to come up a few minutes before the server would time out your session. I believe I wait 10 seconds for you to let me know you'd like the session to be kept alive.
We'll need to get CBIIT to install this module on the upper tiers.
As we discussed in our CDR/EBMS meeting last week, given that the time out occurs after 1 hour of inactivity, we would like to have the pop-up appear at 55 minutes and log you off 4.5 minutes after that. Bob will look into the feasibility of having the browser button on the task bar blink when the pop-up appears in order to notify the user if the browser window is not in the foreground. Thanks.
I changed the 10-second delay to 4 1/2 minutes (on DEV); ready for testing.
For configuration script:
$ drush vset --yes autologout_timeout 3500
$ drush vset --yes autologout_padding 270
Would it be possible to reword the pop-up message as follows? Thanks.
"Your session is about to expire. Do you want to remain logged in?"
I verified the timing. The pop-up did not cause the browser button to blink on my taskbar.
Message changed.
Note to myself: drush can't set multi-word variables. Have to do this myself manually.
Found a way to do it with drush:
echo -n "Your session is about to expire. Do you want to remain logged in?" | drush vset autologout_message -
Verified on DEV. Thanks!
Verified on QA.
Verified the appearance of log-off pop-up message and green "you've been logged off" message on the login screen. However, the system doesn't always actually log off the user. I am often able to click "NIH LOGIN" and get right back into the EBMS without entering my password. We may want to revisit this in the future. In the meantime, I'll mark it verified on prod since I believe the goals of this issue were accomplished.
File Name | Posted | User |
---|---|---|
screenshot-1.jpg | 2014-08-01 14:35:16 |
Elapsed: 0:00:00.000490