From: | Roberto Mello <rmello(at)cc(dot)usu(dot)edu> |
---|---|
To: | Christian Marschalek <cm(at)chello(dot)at> |
Cc: | "'Andrew Hammond'" <drew(at)waugh(dot)econ(dot)queensu(dot)ca>, "[PHP] PostgreSQL" <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: HTTP authentication |
Date: | 2001-04-28 15:17:25 |
Message-ID: | 20010428091725.A19929@cc.usu.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
On Fri, Apr 27, 2001 at 10:54:21PM +0200, Christian Marschalek wrote:
> > Otherwise, you can reasonably use
> > either the http auth stuff, which is probably the best approach,
> > especially for a site that's got any kind of heavy usage or
> > something based on PHP sessions. However be forewarned that
> > the sessions stuff isn't exactly the most efficient and fast.
What's the problem with sessions? Are they slow? I don't see why since
it just grabs the cookie from the browser and reads the appropriate file
from the sessions directory.
> Well PHP auth and sessions is probably the right aproach. Which one
> would be more efficient or faster?
I just wrote an auth library that uses sessions and stores passwords
encrypted in the database. I am fairly new to PHP (tho experienced in
other web devel technologies) so it might need improvements, but it works
very well for me.
-Roberto
--
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
Roberto Mello - Computer Science, USU - http://www.brasileiro.net
http://www.sdl.usu.edu - Space Dynamics Lab, Developer
let length(Long_Walk) > length(Short_Pier)
From | Date | Subject | |
---|---|---|---|
Next Message | Christian Marschalek | 2001-04-28 17:44:43 | RE: HTTP authentication |
Previous Message | Gyozo Papp | 2001-04-28 10:55:27 | inherited method call |