has anyone out there done anything like this? Any help would appreciated. Thanks >>> "Chris Robertson" <crobertson@xxxxxxx> 08/18/05 15:45 PM >>> >> On 8/16/05, Corey Tyndall <CTyndall@xxxxxxxx> wrote: >>> Is there anyway to disconnect clients from the proxy server >>> after a period of no activity? Our problem is that if a user >>> logs into the internet via the proxy and then walks away >>> without shutting down the browser other users can walk up and >>> start browsing without being asked to log in because the >>> first person never logged out. If I could disconnect the >>> session after say 15 minutes then the issue is no longer. >>> Thanks in advance >>> >>> >>> >>> >> "Kashif Ali Bukhari" <kbukhari@xxxxxxxxx> 08/16/05 01:55AM >>> >>use clinet life time >> >> > -----Original Message----- > From: Corey Tyndall [mailto:CTyndall@xxxxxxxx] > Sent: Thursday, August 18, 2005 11:11 AM > To: kbukhari@xxxxxxxxx > Cc: squid-users@xxxxxxxxxxxxxxx > Subject: Re: timeout? > > > Client_lifetime is used for maximum amount of time that a > browser can stay connected to the cache process. I am > looking for a value that will disconnect the client if there > is no activity. I.E. If a user walks away and leave the > browser up I want it to disconnect the session after say 15 > minutes and ask for the user to authenticate again. > Using a custom authenticator with a ttl of less than 15 minutes ought to work. Every time the authenticator is called it should check both the validity of the data and a time variable. If it's been more than 15 minutes since the last authentication, return ERR, which should cause Squid to prompt for authentication. If it's been less then 15 minutes, reset the time variable (to the current time) and return OK. This idea is off the top of my head, and may (most likely does) have serious flaws. Chris ------------------------------------------------------------------------------ The contents of this e-mail (and any attachments) are confidential, may be privileged and may contain copyright material. You may only reproduce or distribute material if you are expressly authorized by us to do so. If you are not the intended recipient, any use, disclosure or copying of this email (and any attachments) is unauthorized. If you have received this e-mail in error, please notify the sender and immediately delete this e-mail and any copies of it from your system. ==============================================================================