Re: [Koha-devel] Koha-devel Digest, Vol 46, Issue 34
Me too. I have started to document how many times a day I have had to log in. Anything you can do to alleviate this would be appreciated. Jo-Ann Provasnik Acquisitions Technician Landman Library at Arcadia University 450 S. Easton Road Glenside, PA 19038-3295 Tel: (215) 572-2137 Fax: (215) 572-0240 e-mail: provasnik@arcadia.edu Worldwide Web: http://www.arcadia.edu -----Original Message----- From: koha-devel-bounces@lists.koha.org [mailto:koha-devel-bounces@lists.koha.org] On Behalf Of koha-devel-request@lists.koha.org Sent: Saturday, September 26, 2009 6:00 AM To: koha-devel@lists.koha.org Subject: [Possible SPAM] Koha-devel Digest, Vol 46, Issue 34 Importance: Low Send Koha-devel mailing list submissions to koha-devel@lists.koha.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.koha.org/mailman/listinfo/koha-devel or, via email, send a message with subject or body 'help' to koha-devel-request@lists.koha.org You can reach the person managing the list at koha-devel-owner@lists.koha.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Koha-devel digest..." Today's Topics: 1. Staff Sessions get timeout'd even though they have been active (Michael Hafen) ---------------------------------------------------------------------- Message: 1 Date: Fri, 25 Sep 2009 12:34:59 -0600 From: Michael Hafen <mdhafen@washk12.org> Subject: [Koha-devel] Staff Sessions get timeout'd even though they have been active To: koha-devel@lists.koha.org Message-ID: <1253903699.26377.69.camel@koha-dev> Content-Type: text/plain My librarians brought to my attention that they were being logged out of Koha because their session timed out, even though they had been active less than two hours prior ( timeout sys. pref. is set to two hours ). I added a couple warns so I could see when lasttime was updated and when someone was timed out. I saw timeouts on sessions that had been active from 3 seconds to 1 hour 43 minutes prior. pianohacker suggested changing session storage from the database to the filesystem, which seems to have fixed the problem. Has anyone else seen this? I don't want to file a bug if it's just a problem with my setup. Thanks. -- Michael Hafen Systems Analyst and Programmer Washington County School District Utah, USA for Koha checkout http://development.washk12.org/gitweb/ or git://development.washk12.org/koha ------------------------------ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel End of Koha-devel Digest, Vol 46, Issue 34 ******************************************
"Provasnik, JoAnn" <Provasnj@arcadia.edu> wrote:
Me too. I have started to document how many times a day I have had to log in. Anything you can do to alleviate this would be appreciated.
I suggest checking sessionlog (currently /tmp/sessionlog but I hope we'll get it to a better location soon) to see why librarians are being logged out. I think it covers librarians too, not just OPAC, but I've not checked just now. Please note this bit at the start of the digest:
When replying, please edit your Subject line so it is more specific than "Re: Contents of Koha-devel digest..."
Also, this doesn't seem like a development question to me, so the main koha user list may have more replies. Hope that helps, -- MJ Ray (slef) LMS developer and webmaster at | software www.software.coop http://mjr.towers.org.uk | .... co IMO only: see http://mjr.towers.org.uk/email.html | .... op
On Fri, Oct 2, 2009 at 4:08 AM, MJ Ray <mjr@phonecoop.coop> wrote:
"Provasnik, JoAnn" <Provasnj@arcadia.edu> wrote:
Me too. I have started to document how many times a day I have had to log in. Anything you can do to alleviate this would be appreciated.
I suggest checking sessionlog (currently /tmp/sessionlog but I hope we'll get it to a better location soon) to see why librarians are being logged out. I think it covers librarians too, not just OPAC, but I've not checked just now.
It seems someone suggested changing session storage to the db rather than cookies provided a workaround for this issue. Kind Regards, Chris
On Fri, Oct 2, 2009 at 8:35 AM, Chris Nighswonger < cnighswonger@foundations.edu> wrote:
On Fri, Oct 2, 2009 at 4:08 AM, MJ Ray <mjr@phonecoop.coop> wrote:
"Provasnik, JoAnn" <Provasnj@arcadia.edu> wrote:
Me too. I have started to document how many times a day I have had to log in. Anything you can do to alleviate this would be appreciated.
I suggest checking sessionlog (currently /tmp/sessionlog but I hope we'll get it to a better location soon) to see why librarians are being logged out. I think it covers librarians too, not just OPAC, but I've not checked just now.
It seems someone suggested changing session storage to the db rather than cookies provided a workaround for this issue.
Rather the other way around: from the DB to file system. Kind Regards, Chris
Is there a .pm with a function/sub that allows me to get/send a query on the sys. pref table and have it return data? Thanks, Scott _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
scott asked:
Is there a .pm with a function/sub that allows me to get/send a query on the sys. pref table and have it return data?
C4::Context->preference does a very simple query. For more complex ones, you can call it on C4::Context->dbh but it may be better to add a function to C4::Context. Whether this is a good idea depends on the motivation... Hope that helps, -- MJ Ray (slef) LMS developer and webmaster at | software www.software.coop http://mjr.towers.org.uk | .... co IMO only: see http://mjr.towers.org.uk/email.html | .... op _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
participants (4)
-
Chris Nighswonger -
MJ Ray -
Provasnik, JoAnn -
scott