On Sun, 17 Oct 2004, Andrew Bartlett wrote:
This seems like a typical use of squid redirectors. Redirect the user to a CGI script, which takes the URL as a parameter. If that page records a 'yes' reply on a form presented to the user, it enters this in a DB, keyed by username or IP address. Then, next time the redirector script is hit, you can lookup the DB.
To make it more efficient can use an external acl to record the IP (or username) session, and deny_info to redirect to the login page if there is no active recorded session.
Regards Henrik
