Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon3.gif   Multiple ideas for multiple logbooks, posted by Yoshio Imai on Tue Apr 3 13:17:27 2007 
    icon2.gif   Re: Multiple ideas for multiple logbooks, posted by Stefan Ritt on Tue Apr 3 14:26:09 2007 
       icon2.gif   Re: Multiple ideas for multiple logbooks, posted by Stefan Ritt on Tue Apr 3 15:19:00 2007 
       icon7.gif   Re: Multiple ideas for multiple logbooks, posted by Yoshio Imai on Tue Apr 3 17:55:21 2007 elcode_generation.png
          icon2.gif   Re: Multiple ideas for multiple logbooks, posted by Stefan Ritt on Tue Apr 3 21:09:47 2007 
          icon2.gif   Re: Multiple ideas for multiple logbooks, posted by Stefan Ritt on Tue Apr 3 22:10:56 2007 
          icon2.gif   Re: Multiple ideas for multiple logbooks, posted by Stefan Ritt on Wed Apr 4 12:14:12 2007 
             icon2.gif   Re: Multiple ideas for multiple logbooks, posted by Yoshio Imai on Wed Apr 4 14:20:41 2007 
                icon2.gif   Re: Multiple ideas for multiple logbooks, posted by Stefan Ritt on Thu Apr 5 10:01:06 2007 
    icon2.gif   Re: Multiple ideas for multiple logbooks, posted by Stefan Ritt on Wed Apr 4 08:38:30 2007 
       icon14.gif   Re: Multiple ideas for multiple logbooks, posted by Yoshio Imai on Wed Apr 4 11:37:56 2007 
Message ID: 2190     Entry time: Wed Apr 4 08:38:30 2007     In reply to: 2183     Reply to this: 2191
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Request  OS: Linux  ELOG Version: 2.6.4-1795 
Subject: Re: Multiple ideas for multiple logbooks 

Yoshio Imai wrote:
1. Multiple login
Is there any way to change the cookie structure so as to allow one (physical) user to be logged on as more than one elog user at a time?


Actually there is a way, but I completely forgot about that. The manual says:


ELOG manual wrote:

If any of the password statements are in the [global] area of the configuration files, they are used for all logbooks. If one logs in at one logbook, access is automaticlly granted to all logbooks. If the password statements are in the individual logbook sections, one has to log in to each logbook separately.


That should help. Just put the password file = ... into the individual logbook sections, and you should get what you want. You can check this by inspecting the cookies (first you have to delete all cookies in your browser). With passoword files for individual logbooks you should see an associated Path for each logbook, so the login cookie only gets submitted to that logbook, allowing differnt user names/passwords for different logbooks.
ELOG V3.1.5-fe60aaf