Re: authentication

From: Date: Wed, 24 Apr 2002 02:34:00 +0000
Subject: Re: authentication
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94297@lists.php.net to get a copy of this message
I believe your choices are either: 1. use .htaccess authentication, which is usually constant for the time the browser program is open. 2. develop your own user/pass system with sessions I don't believe the two can work hand-in-hand. Justin French --------------------- http://indent.com.au http://soundpimps.com --------------------- on 24/04/02 2:52 AM, Fifield, Mike (Mike.Fifield@schwab.com) wrote: > I have one directory that is protected with an .htaccess file on my server > where I store all member content. What I want to do is have a page where > members can log in, and after they have entered there user name and password > I what the php script to authenticate them against the .htaccess file. If > they are authenticated I would like to keep track of that as one of there > session variables, so that they do not have to re-authenticate when they try > to access content in the protected directory. Essentially what I am trying > to do is give them access to the .htaccess protected based from a "submit > form". Instead of requiring that they get the standard user name and > password pop up window that one gets when you try to access a directory that > is password protected on Apache. > > > >

« previous php.general (#94297) next »