Re: [squid-users] Getting authenticated username with PHP ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 5 Jan 2004 09:59:16 +0100 (CET)

On Mon, 5 Jan 2004, Andrew Nelson wrote:

> I'm sure you know about authenticate_ttl and all about the way squid
> caches auth detail so it doesn't have to keep bothering the client...

This has nothing at all to do with the client.

What this controls is how often Squid will ask the authentication program
if a given login+password is valid. Between these it will simply assume
the same login+password is still valid if if was previously verified as
valid no longer than the ttl ago.

> It is stateful really - and that's also what PHP sessions and cookies
> are all about.. I guess i'm looking for a way to access Squid's
> internal session cache..

Squid uses HTTP authentication as defined by the HTTP standard.

There is no session cache.

There is no session cookies.

There is no PHP sessions. Squid is not a PHP program.

Regards
Henrik
Received on Mon Jan 05 2004 - 01:59:53 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:03 MST