[Koha] Running OPAC and Intranet at the same time

Chris Nighswonger cnighswonger at foundations.edu
Sat Mar 1 15:41:10 NZDT 2008


On Fri, Feb 29, 2008 at 6:49 PM, Joshua Ferraro <jmf at liblime.com> wrote:
> On 2/29/08, Jesse <pianohacker at gmail.com> wrote:
>  >
>  >
>  > > I'm running the Koha OPAC on port 3333 on my website, and the Intranet on
>  > port 3334.  Unfortunately (if I understand the rules for cookies correctly)
>  > it's not possible to have a cookie segregated to a certain website and a
>  > certain port number.
>  >
>  >
>  > This is correct.
>  > >
>  > > As a result, I can't login and access both the Intarnet and OPAC site on
>  > the same browser.  For instance if I login as "kohaadmin" on the Intranet
>  > (port 3334), then login as "adams" on the OPAC (port 3333), the first cookie
>  > will be overwritten, and the Intranet site will complain that I'm now logged
>  > in as a non-administrative user (adams).
>  > >
>  >
>  > A possible workaround for this is to give adams superlibrarian rights.
>  >
>  > > Right now, I've taken to accessing the Intranet on Firefox and the OPAC on
>  > MSIE to keep my logins separate.  But could this problem be solved if Koha
>  > used different cookie names for the two different sections?  e.g. instead of
>  > using CGISESSID everywhere, maybe use KOHAINET as the cookie name for the
>  > Intranet and KOHAOPAC for the OPAC site?
>  I agree this is a great idea ... does anyone have any objections to making that
>  small change?

Go for it!

-- 
Chris Nighswonger
Faculty Member
Network & Systems Director
Foundations Bible College & Seminary
www.foundations.edu
www.fbcradio.org


More information about the Koha mailing list