EBMS Tickets

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
Description

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?

Comment entered 2014-08-01 14:35:16 by Juthe, Robin (NIH/NCI) [E]

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.

Comment entered 2014-08-01 15:40:17 by Kline, Bob (NIH/NCI) [C]

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.

Comment entered 2014-08-01 16:29:29 by Juthe, Robin (NIH/NCI) [E]

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?

Comment entered 2014-08-01 16:55:48 by Kline, Bob (NIH/NCI) [C]

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.

Comment entered 2014-08-13 17:47:08 by Kline, Bob (NIH/NCI) [C]

We'll need to get CBIIT to install this module on the upper tiers.

Comment entered 2014-08-19 17:59:13 by Juthe, Robin (NIH/NCI) [E]

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.

Comment entered 2014-08-20 08:57:34 by Kline, Bob (NIH/NCI) [C]

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
Comment entered 2014-08-26 12:09:51 by Juthe, Robin (NIH/NCI) [E]

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.

Comment entered 2014-08-26 13:41:40 by Kline, Bob (NIH/NCI) [C]

Message changed.

Note to myself: drush can't set multi-word variables. Have to do this myself manually.

Comment entered 2014-08-26 13:47:58 by Kline, Bob (NIH/NCI) [C]

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 -
Comment entered 2014-08-26 14:57:13 by Juthe, Robin (NIH/NCI) [E]

Verified on DEV. Thanks!

Comment entered 2014-09-12 19:02:01 by Shields, Victoria (NIH/NCI) [E]

Verified on QA.

Comment entered 2014-11-03 11:46:24 by Juthe, Robin (NIH/NCI) [E]

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.

Attachments
File Name Posted User
screenshot-1.jpg 2014-08-01 14:35:16

Elapsed: 0:00:00.000490