Re: [squid-users] Redirector for Internet Policy

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 04 Jul 2003 15:59:38 +0200

fre 2003-07-04 klockan 15.12 skrev Adrian Hope-Hodgetts VK4MIA:
> Is there a way to make squid present a page at the beginning of each
> authenticated session before allowing the user to continue to other
> pages.?

There is no concept of "beginning of each authenticated session" in
HTTP. The user authenticates on each and every request, and there is no
concept of a logout in HTTP.

This said, yes it is possible. To do this you use a redirector which
keeps track of "active" users, redirecting the first request from a user
who have not been seen for your decided inactivity timeout, on the first
request each day or whatever other definition of "beginninf of
authenticated session" you select.

Another alternative is to use a proxy.pac script, redirecting the first
request of each browser session to a message page. This is probably
better in terms of functionality as it does not disturb other
applications such as anti-virus update agents etc, only normal browsing.
There was information about such proxy.pac script posted on squid-users
some time ago.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri Jul 04 2003 - 07:59:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:49 MST