• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Portal setting for not using same user in new browser session

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Portal setting for not using same user in new browser session

    Hi Guys, you used to have setting to not automatically logon with same User Id if you opened up another window to run another Valence session on same workstation. Does that still exist, I could not see it?

    User tells me right now if he does that it logs off whoever was running the current session in other window.

    Use case is when Supervisor out on floor they can open their own session to use app the floor guy cannot without having to go back to their office and their computer. Thanks!

  • #2
    Hi Terry,

    You can update the Hook.js "/ValenceInstance/resources/desktop/Hook.js" login method to remove the session id from local storage so that if Valence is opened in a new browser tab it will force the user to login

    Example
    Code:
    login                : function (user, sid) {
        // remove the session id from local storage so when other tabs
        // within the browser is opened they have to login
        //
        localStorage.removeItem('sid');
    },

    Comment


    • #3
      Ahhh yes. Now I remember how we did that. Thank you Johnny, works great!

      Comment

      Working...
      X