Hi, I found a possible error at staff interface. Home › Administration › System preferences at Administration preferences Login options timeout It read as: Automatically log out users after____ seconds of inactivity. Adding d will specify it in days, e.g. 1d is timeout of one day. In fact it should read as: Automatically log out users after____ milliseconds of inactivity. Adding d will specify it in days, e.g. 1d is timeout of one day. Use milliseconds replace seconds. Refer to Koha manual, please http://manual.koha-community.org/3.4/en/administration.html 1.2.3.5. timeout Automatically log out users after ___ milliseconds of inactivity. Wishing you all the best. . . . Anthony Mao 毛慶禎 mao AT lins.fju.edu.TW Department of Library and Information Science Fu Jen Catholic University http://bit.ly/lins No.510, Zhongzheng Rd., Xinzhuang Dist., New Taipei City 24205 Taiwan +886 2 29052334
I think this is a doc issue, not a UI/code issue, I recommend you open a ticket at http://bugs.koha-community.org. //Riley Sent from my Windows Phone -- Riley Childs Senior Charlotte United Christian Academy Library Services Administrator IT Services Administrator (704) 537-0331x101 (704) 497-2086 rileychilds.net @rowdychildren I use Lync (select External Contact on any XMPP chat client) CONFIDENTIALITY NOTICE: This email and any files transmitted with it are the property of Charlotte United Christian Academy. This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain confidential information that is privileged and/or exempt from disclosure under applicable law. If you are not one of the named original recipients or have received this e-mail in error, please permanently delete the original and any copy of any e-mail and any printout thereof. Thank you for your compliance. This email is also subject to copyright. No part of it nor any attachments may be reproduced, adapted, forwarded or transmitted without the written consent of the copyright owner@cucawarriors.com ________________________________ From: 毛慶禎<mailto:mao@lins.fju.edu.tw> Sent: 3/12/2015 7:37 PM To: koha@lists.katipo.co.nz<mailto:koha@lists.katipo.co.nz> Subject: [Koha] possible error at staff interface Hi, I found a possible error at staff interface. Home › Administration › System preferences at Administration preferences Login options timeout It read as: Automatically log out users after____ seconds of inactivity. Adding d will specify it in days, e.g. 1d is timeout of one day. In fact it should read as: Automatically log out users after____ milliseconds of inactivity. Adding d will specify it in days, e.g. 1d is timeout of one day. Use milliseconds replace seconds. Refer to Koha manual, please http://manual.koha-community.org/3.4/en/administration.html 1.2.3.5. timeout Automatically log out users after ___ milliseconds of inactivity. Wishing you all the best. . . . Anthony Mao 毛慶禎 mao AT lins.fju.edu.TW Department of Library and Information Science Fu Jen Catholic University http://bit.ly/lins No.510, Zhongzheng Rd., Xinzhuang Dist., New Taipei City 24205 Taiwan +886 2 29052334 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
I check at Bug 6701. It seem people agree use "second". Nicole C. Engard 2011-08-10 14:45:16 UTC agree change to millisecond. but Chris Nighswonger 2012-04-05 13:55:16 UTC look into C4::Auth checkauth back to "login timeout is in seconds" At last Jared Camins-Esakov 2012-05-09 16:59:05 UTC This bug will be included in the Koha 3.6.5 release. 2015-03-13 7:53 GMT+08:00 Riley Childs <rchilds@cucawarriors.com>:
I think this is a doc issue, not a UI/code issue, I recommend you open a ticket at http://bugs.koha-community.org.
//Riley
Sent from my Windows Phone
-- Riley Childs Senior Charlotte United Christian Academy Library Services Administrator IT Services Administrator (704) 537-0331x101 (704) 497-2086 rileychilds.net @rowdychildren I use Lync (select External Contact on any XMPP chat client)
CONFIDENTIALITY NOTICE: This email and any files transmitted with it are the property of Charlotte United Christian Academy. This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain confidential information that is privileged and/or exempt from disclosure under applicable law. If you are not one of the named original recipients or have received this e-mail in error, please permanently delete the original and any copy of any e-mail and any printout thereof. Thank you for your compliance. This email is also subject to copyright. No part of it nor any attachments may be reproduced, adapted, forwarded or transmitted without the written consent of the copyright owner@cucawarriors.com
________________________________ From: 毛慶禎<mailto:mao@lins.fju.edu.tw> Sent: 3/12/2015 7:37 PM To: koha@lists.katipo.co.nz<mailto:koha@lists.katipo.co.nz> Subject: [Koha] possible error at staff interface
Hi,
I found a possible error at staff interface. Home › Administration › System preferences at Administration preferences Login options timeout
It read as: Automatically log out users after____ seconds of inactivity. Adding d will specify it in days, e.g. 1d is timeout of one day.
In fact it should read as: Automatically log out users after____ milliseconds of inactivity. Adding d will specify it in days, e.g. 1d is timeout of one day.
Use milliseconds replace seconds.
Refer to Koha manual, please http://manual.koha-community.org/3.4/en/administration.html 1.2.3.5. timeout Automatically log out users after ___ milliseconds of inactivity.
Wishing you all the best. . . .
Anthony Mao 毛慶禎 mao AT lins.fju.edu.TW Department of Library and Information Science Fu Jen Catholic University http://bit.ly/lins No.510, Zhongzheng Rd., Xinzhuang Dist., New Taipei City 24205 Taiwan +886 2 29052334
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Wishing you all the best. . . . Anthony Mao 毛慶禎 +886 2 29052334 (voice) + 886 2 29017405 (FAX)
Hi, On Fri, Mar 13, 2015 at 5:23 AM, Riley Childs <rchilds@cucawarriors.com> wrote:
I think this is a doc issue, not a UI/code issue, I recommend you open a ticket at http://bugs.koha-community.org.
@Riley: Nope! Not a bug, the time is actually in seconds! See http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6701 @Anthony : Koha 3.4 is an unsupported version. The manual for the latest stable release is at http://manual.koha-community.org/3.18/en/administration.html In the latest manual, the timeout syspref is under 1.2.3.4 and NOT under 1.2.3.5 as with 3.4 manual. The relevant code segments are in C4::Auth are in _timeout_syspref() and checkauth() sub _timeout_syspref { my $timeout = C4::Context->preference('timeout') || 600; # value in days, convert in seconds if ($timeout =~ /(\d+)[dD]/) { $timeout = $1 * 86400; }; return $timeout; } AND if ( $lasttime < time() - $timeout ) { time() is the perl function to return epoch time in seconds. Thus we are handling seconds and NOT miliseconds. hope this clarifies the issue. -idg -- Indranil Das Gupta Phone : +91-98300-20971 Blog : http://indradg.randomink.org/blog IRC : indradg on irc://irc.freenode.net Twitter : indradg -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=- Please exchange editable Office documents only in ODF Format. No other format is acceptable. Support Open Standards. For a free editor supporting ODF, please visit LibreOffice - http://www.documentfoundation.org
Thanks for Indranil's reply. In this case should Koha Manual 1.2.3.5 timeout change to 1.2.3.5. timeout Default: 12000000 Asks: Automatically log out users after ___ seconds of inactivity. Use 'seconds' instead of 'milliseconds'. 2015-03-13 8:25 GMT+08:00 Indranil Das Gupta <indradg@gmail.com>:
Hi,
On Fri, Mar 13, 2015 at 5:23 AM, Riley Childs <rchilds@cucawarriors.com> wrote:
I think this is a doc issue, not a UI/code issue, I recommend you open a ticket at http://bugs.koha-community.org.
@Riley: Nope! Not a bug, the time is actually in seconds! See http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6701
@Anthony : Koha 3.4 is an unsupported version. The manual for the latest stable release is at http://manual.koha-community.org/3.18/en/administration.html
In the latest manual, the timeout syspref is under 1.2.3.4 and NOT under 1.2.3.5 as with 3.4 manual.
The relevant code segments are in C4::Auth are in _timeout_syspref() and checkauth()
sub _timeout_syspref { my $timeout = C4::Context->preference('timeout') || 600; # value in days, convert in seconds if ($timeout =~ /(\d+)[dD]/) { $timeout = $1 * 86400; }; return $timeout; }
AND
if ( $lasttime < time() - $timeout ) {
time() is the perl function to return epoch time in seconds. Thus we are handling seconds and NOT miliseconds.
hope this clarifies the issue. -idg
-- Indranil Das Gupta
Phone : +91-98300-20971 Blog : http://indradg.randomink.org/blog IRC : indradg on irc://irc.freenode.net Twitter : indradg
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=- Please exchange editable Office documents only in ODF Format. No other format is acceptable. Support Open Standards.
For a free editor supporting ODF, please visit LibreOffice - http://www.documentfoundation.org _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Wishing you all the best. . . . Anthony Mao 毛慶禎 +886 2 29052334 (voice) + 886 2 29017405 (FAX)
participants (4)
-
Anthony Mao -
Indranil Das Gupta -
Riley Childs -
毛慶禎