Re: [webmin-devel] Session timeout with miniserv.pl

Colm Dougan <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
> > > The session timeout is already enforced by Webmin for all modules, and
> > > can be configured in the Webmin Configuration module under
> > > Authentication. So there isn't really any need to implement your own
> > > timeout, unless you want to do something special like adjust it on a
> > > per-module basis ..
> >
> > Great - this is really useful.  Is this documented anywhere?
> 
> Only in my book unfortunately :-)
> Although the default works well for most people, so it isn't often
> changed..

 I got it working by adding "logouttime=3" to miniserv.conf.  A gotcha
with this is that if you have any CGI scripts that reload themselves
periodically with JavaScript then you can find that you never hit the
timeout because the JavaScriipt reload (quite understandably) is
activity.  Not that I'd expect webmin to deal with that - I'm just
mentioning it.  I'll most probably have to patch webmin to have a list
of URLs that will not count as a request for the purposes of
calculating the timeout.

Thanks again.

Colm


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.