Track sessions and, optionally, users WWW: http://search.cpan.org/dist/Maypole-Authentication-UserSessionCookie/