[Koha] OPAC session invalidation due to changing IP

Lebbeous Fogle-Weekley lebbeous+koha at esilibrary.com
Sat Jul 7 09:16:32 NZST 2012


Thanks Jonathan.  I'll see whether the patrons might be using a proxy.

-- 
Lebbeous Fogle-Weekley
  | Software Developer
  | Equinox Software, Inc. / Your Library's Guide to Open Source
  | phone:  1-877-OPEN-ILS (673-6457)
  | email:  lebbeous at esilibrary.com
  | web:  http://www.esilibrary.com

On 07/06/2012 04:46 PM, Jonathan Field wrote:
> We had this at a couple of sites and it turned out to be the proxy settings in the users browser. Removing the proxy or adding an exception at the proxy server end fixed the problem!
> Jonathan
>
> On 6 Jul 2012, at 19:59, Lebbeous Fogle-Weekley <lebbeous at esilibrary.com> wrote:
>
>> Hi all,
>>
>> My question concerns a Koha 3.6.4 site.  A significant number of patrons seem to be reporting that they frequently get their login sessions invalidated with the following message: "You are logging from a different IP address. Please log in again."  This happens often enough to prevent them from placing all the holds or renewals that they would like.
>>
>> Now I could imagine that in fact, their IP addresses are rapidly changing due to a misbehaving ISP.  In this case, I would expect there to be little remedy for the situation as the code stands today . I looked at C4::Auth::check_api_auth() and C4::Auth::check_cookie_auth(), and I do understand why under normal circumstances, it is a good idea to invalidate sessions once they're accessed by a second IP address.
>>
>> But are there other possible explanations for why users would encounter this message, or can anybody recommend troubleshooting steps that would either confirm or deny that the affected patrons' IP addresses do change?
>>
>> Network layer troubleshooting is as welcome a suggestion as any, but if there is something in, say, the Koha logs that could also help, I would appreciate any pointers.
>>
>> Thanks,
>> --
>> Lebbeous Fogle-Weekley
>> | Software Developer
>> | Equinox Software, Inc. / Your Library's Guide to Open Source
>> | phone:  1-877-OPEN-ILS (673-6457)
>> | email:  lebbeous at esilibrary.com
>> | web:  http://www.esilibrary.com
>>
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha





More information about the Koha mailing list