But a custom redirector might be able to keep a rough notion of a session based on client IP address, and a logging database. For the first GET request of the day, that redirector could send the user to an intermediary 'warning' page hosted by an HTTP server somwhere along with the destination URL passed in the GET querystring, and log that they have visited once that day... Of course this assumes you assumes you are comfortable with and have time to be scripting a database-backed redirector in Python or Perl, and a database of your choice.
Sean -----Original Message----- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 1:19 AM To: Ben White Cc: Question Subject: Re: [squid-users] Display Company Policy The main problem to solve in this equation is "once". Depending on your situation "users" might also require some consideration to be clearly defined. HTTP is quite stateless in it's nature with no notion of a "session", and so is Squid (yet). Regards Henrik tor 2003-03-06 klockan 09.34 skrev Ben White: > Hi, > > I was thinking if it is possible for my company > policies to be dispalyed (in HTML) when users start > using squid proxy at the start of the day. I want this > HTML to be displayed once, regardless of how many > times users use squid subsequently. > > Can this be done, and how to do it ? > > Thanks for any suggestions / ideas. > > __________________________________________________ > Do You Yahoo!? > Promote your business from just $5 a month! > http://sg.biztools.yahoo.com -- Henrik Nordstrom <[EMAIL PROTECTED]> MARA Systems AB, Sweden
