Re: using auth or auth_http

From: Date: Sat, 17 Feb 2007 14:32:02 +0000
Subject: Re: using auth or auth_http
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26606@lists.php.net to get a copy of this message
--- Adam Ashley <aashley@adamashley.name> wrote: > On Fri, 16 Feb 2007 07:22:25 -0800 (PST), Darren Crotchett > <back_doctor@yahoo.com> wrote: > > > I want to be able to authenticate a user, and let that > authentication > > be persistent between pages and logins (like "Remember Me"). I > have > > basic authentication mostly by using the examples. > > > > Any suggestions? > > > > Either will work for what you want. Auth is designed around a HTML > > login form, while Auth_HTTP extends it and makes use of the > standard > HTTP authentication system. > > Adam Ashley > Thanks Adam. I have been able to apply both methods. But, I am trying to protect one page with another page (an RSS page). I was hoping that by using the Auth_HTTP method that my RSS reader would prompt me for a password. So far, that hasn't worked. If I could figure that out, that would be awesome. Assuming that that is not possible, the Auth vs. Auth_HTTP becomes fairly irrelevant. Since that didn't work, I thought that I would require authentication on one page that would provide access to my RSS page. I thought Auth would create a session or cookie on the first page that I could check for on the other page. But, when I do $myAuth->checkAuth(), in my RSS file, even after authenticating on the other page, my RSS reader won't load the page. I know the problem is authentication. I put error message in the XML to let me know and I also checked it with the "Feed Validator". I apologize that my previous post was a little vague. I got rushed and didn't proof read it. Thanks, Darren ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/

« previous php.pear.general (#26606) next »