Re: HTTP authentication

Поиск
Список
Период
Сортировка
От Roberto Mello
Тема Re: HTTP authentication
Дата
Msg-id 20010428091725.A19929@cc.usu.edu
обсуждение исходный текст
Ответ на RE: HTTP authentication  ("Christian Marschalek" <cm@chello.at>)
Ответы RE: HTTP authentication
Re: HTTP authentication
Список 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)

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl




В списке pgsql-php по дате отправления:

Предыдущее
От: "Gyozo Papp"
Дата:
Сообщение: inherited method call
Следующее
От: "Christian Marschalek"
Дата:
Сообщение: RE: HTTP authentication