TOLOGIX - ISLG App Rebuild

Problem with session tracking when session ends because of inactivity

Assigned to
Harsh Parikh, Tech Lead at DevIT Harsh P. Naomi Joanis, UX Team Lead at Industrial Naomi J.
Notes
In the legacy application, when a user in inactive on the Subscriber side of the application for 30 minutes, the existing session is ends, and then the user is required to login to the system again to start a new session that is track as a completely new session. This ensures that the time between when the existing session ends (because of inactivity) and the person logs back into ISLG does not get added to the person's usage data.

Further to the video below, in the new application, the prompt appears after 30 minutes of inactivity, but it does not cause the session to end. The user can select "Start Session" and it resumes the existing session. This setup is ok; however, could Melissa Cowell, General Manager at Industrial Melissa or Naomi Joanis, UX Team Lead at Industrial Naomi please confirm that this does not result in adding the time between when when the prompt is presented (because of inactivity) and the person select "Start Session" to resume the session. 

Also, if selecting "Start Session" does resume the existing session, rather than starting a new session, shouldn't the label of the link be changed to "Resume Session".


Comments & Events

Naomi Joanis, UX Team Lead at Industrial
Hi Morgan Maguire, CEO Morgan

What should happen is that clicking "Start Session" requires the user to start a new session, meaning they need to select a client & subject matter to assign their time to. This means that the timer is stopped when the prompt to start a new session occurs, and is started again once a new client/subject is selected. 
Morgan Maguire, CEO
Ok. Understood, Naomi Joanis, UX Team Lead at Industrial Naomi , but what happens to usage data that is tracked in the session details (regardless of whether they have assigned the session to a particular client/matter number)? My concern is that we're tracking usage between when the 30 minutes of inactivity notice is presented and when the user starts the session again, because as described above, this is tracking usage differently from what we were doing in the legacy app.

Thanks,

Morgan 
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan and Naomi Joanis, UX Team Lead at Industrial Naomi ,

As per requirement, When the session inactive popup open (after 30 minute) and user press Start new Session then the session tracking will be resume again. It means we are not creating new session the session tracking data will be logged in existing session.
Morgan Maguire, CEO
OK. Thanks Harsh Parikh, Tech Lead at DevIT Harsh and Naomi Joanis, UX Team Lead at Industrial Naomi

However, no one has answered my critical question above. Does the time that elapses between when the popup opens and when the user selects Start Session get recorded and added to the during of the session?

For example, is this how a session's duration would be tracked?
  • (Session Duration: 0:00): user logs into ISLG and starts new session.
  • (Session Duration: 0:05): user stops navigating through site, but maintains browser window open (user becomes inactive and 30 minutes inactivity timer starts).
  • (Session Duration: 0:35): user is inactive for 30 minutes and popup opens indicating that session has expired.
  • 45 minutes elapses.
  • (Session Duration: 0:36): user resumes the existing session by select "Start Session".
Please confirm, and then we'll decide on next steps, because "Start Session" should probable be replaced with "Resume Session" if it does not end the previous session and create a new session.

Thanks,

Morgan
Naomi Joanis, UX Team Lead at Industrial
Hi Morgan Maguire, CEO Morgan ,

I am unable to confirm your question as yesterday and today my session didn’t end through 30 minutes of inactivity, which would prompt the session timeout message (I left a session inactive for many hours yesterday in an incognito tab). This was tested and working previously so I’m not sure what is affecting this. I have logged a bug for this (https://industrialagency.tpondemand.com/entity/21252-session-ended-greater-session-end-prompt). 

This may be worth discussing on Thursday, as when I went back to this card we noticed that ending a session on browser close was not included in UAT. I have written criteria to ensure this is covered (https://industrialagency.tpondemand.com/entity/21260-st-greater-session-ended-greater-session), but confirming on Thursday that it doesn’t pose any technical difficulty might be helpful as well. 
Morgan Maguire, CEO
OK. Thanks Naomi Joanis, UX Team Lead at Industrial Naomi .

Harsh Parikh, Tech Lead at DevIT Harsh , could you please investigate and then we'll discuss during Thursday's meeting.

Thanks,

Morgan
Naomi Joanis, UX Team Lead at Industrial
Hi Morgan Maguire, CEO Morgan

I am just confirming that I tested the session timeout on staging.investorstatelawguide and I am still not receiving the 30 minute timeout prompt. The sessions are also not ending for me on tab/window closing as well. I have responded back to Harsh with my version of chrome on the relevant bug.
Morgan Maguire, CEO
Ok. Thanks Naomi Joanis, UX Team Lead at Industrial Naomi .

Harsh Parikh, Tech Lead at DevIT Harsh , Jitesh Dhuravala, DevIT Jitesh and Ketan Sondarva, Technical Project Manager at DevIT Ketan , please let me know how you plan to resolve this issue. As we discussed on Tuesday, it's extremely important that we are 100% confident that this issue is resolved, because accurate usage tracking is an important metric used for subscriber billing purposes.

Thanks,

Morgan 
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan and Naomi Joanis, UX Team Lead at Industrial Naomi ,

The both card of this task has been done on staging.islg. Could you please complete this task ?
Morgan Maguire, CEO
Ok. Sounds good, Harsh Parikh, Tech Lead at DevIT Harsh .

Naomi Joanis, UX Team Lead at Industrial Naomi , could you please confirm whether this issue is resolved, and then I'll mark the to-do complete.

Thanks,

Morgan 
Naomi Joanis, UX Team Lead at Industrial
Hi Morgan Maguire, CEO Morgan

Yes the issues discussed above have been resolved on the subscriber side. There is still one outstanding card 'In Testing' (https://industrialagency.tpondemand.com/entity/21504-st-greater-session-timeout-behaviour-for) related to the messaging on the prompt and behaviour for 'suppressed' session tracking users, however we could close this to-do and resolve that issue through target process when it goes through UAT. 
Morgan Maguire, CEO
Great. Thanks Naomi Joanis, UX Team Lead at Industrial Naomi .

Marking this to-do completed.

Morgan
Morgan Maguire, CEO
Morgan Maguire completed this to-do.