Re: Realm Auth Via Non-Sessions

From: Date: Tue, 31 Jul 2001 07:17:08 +0000
Subject: Re: Realm Auth Via Non-Sessions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-60343@lists.php.net to get a copy of this message
> When a user leaves a realm(.htaccess) from which they have logged into is > there any kind of notification back to the server? Nope. > I would like keep a log of such activities and do not want to do any session > type of jizz jazz(cookies etc). You either do sessions or you don't keep a log of such activities. Take your pick. > I would think that there would need to be some kind of notification back to > the server, as when I leave and come back (close browser) I get a new pass > dialog popped up...How does Apache know that I have to re-authenticate and > can I access this knowledge via php?. The browser sends your (previous) username/password on each page hit to the same server. When the browser quits, it loses its memory of your username/password. That's all there is to it. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#60343) next »