Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Multi Logook Login, posted by Hal Proctor on Tue Apr 14 15:26:14 2009 
    icon2.gif   Re: Multi Logook Login, posted by Grant Jeffcote on Tue Apr 14 18:51:43 2009 
       icon2.gif   Re: Multi Logook Login, posted by Hal Proctor on Tue Apr 14 20:03:06 2009 
          icon2.gif   Re: Multi Logook Login, posted by Stefan Ritt on Wed Apr 15 09:51:35 2009 
             icon2.gif   Re: Multi Logook Login, posted by Yoshio Imai on Wed Apr 15 14:44:42 2009 
                icon2.gif   Re: Multi Logook Login, posted by Stefan Ritt on Wed May 6 16:03:56 2009 
             icon2.gif   Re: Multi Logook Login RESOLVED, posted by Hal Proctor on Tue Apr 21 20:32:10 2009 
Message ID: 66326     Entry time: Tue Apr 21 20:32:10 2009     In reply to: 66316
Icon: Reply  Author: Hal Proctor  Author Email: hproctor@mpm.com 
Category: Question  OS: Windows  ELOG Version: 2.7.5 
Subject: Re: Multi Logook Login RESOLVED 

Stefan Ritt wrote:

 

Hal Proctor wrote:

 

Grant Jeffcote wrote:

 

Hal Proctor wrote:

We have two logbooks, each with a different list of users. 
 The logbooks are open to all network users for read only.
A user with Write permisions logs into his designated logbook.
He then decides to view the other logbook, the one he does not have write permissions to by clicking on the tab to the other logbook.
He is immediately logged out of the logbook he has write permissions to.
He did not close his browser session, only clicked on the other logbook tab.
Is there Any way to keep that person logged into the logbook he has rights to without having the "keep me logged in Checkbox"?

 Just like this site has Forum, Config Examples, etc.

Once you select another tab they are logged out of their logbook they just logged in to.

 

 

 Have a look at this thread Hal, worked well for me:  Link

 

 thanks Grant, but I dont see the solution.  your last entry still states users being logged out when switching logbooks.

Are you suggesting that every user within our orginization needs to be on the deny list of logbook1 if they have rights to logook2?

 

Can you try the following:

  • Put your "password file = xxx" option from the [global] section in elogd.cfg into each individual logook, remove it from [global] 
  • Remove all cookies from your browser
  • Try again to log in to the individual logbooks

The login is handled through cookies. Once you log in, you get two cookies unm (for user name) and upwd (for user password). Each cookie contains a "path" which controls to which URL the browser sends that cookie. If you "password file = xxx" statement is under [global], then "path=/", meaning the cookie is sent for all logbooks. This confuses you if you have different rights for different logooks. If "password file = xxx" is however in each individual loogbooks configuration, then you get "path=/<lobook>". You can check that by inspecting your browser's cookies. In that case the login name and password cookies are only sent to the URL for that specific logbook. I have not tested that extensively (different browsers, with/without Apache proxy), but if it works reliably, I will put this into the documentation.

 This worked for us just fine!  thanks!

ELOG V3.1.5-fe60aaf