Have you considered PHPLIB?

        http://phplib.sourceforge.net/

        http://sourceforge.net/projects/phplib

        http://www.sanisoft.com/phplib/manual/

The docs'll give you an idea of how they did it. The code is pretty 
complex, though, but it does a lot. I'd suggest using this as a base, 
if PHP4's session handling isn't sufficient. I use it, with my own 
hacks for my authorization needs.

        -steve


At 8:38 AM -0800 2/20/02, Brandon Orther wrote:
>Hello,
>
>I loosely understand how I can have a person login to a system by giving
>them a cookie with a certain amount of time with a encrypted code.  And
>save that same encrypted code in the database for a certain amount of
>time.  I am looking for a tutorial on how to do this so I can wrap my
>mind around it a little better.
>
>If anyone knows a good tutorial on how to log people into your site
>using a userser database please hook me upZ wiT da Inf0z
>--------------------------------------------
>Brandon Orther
>WebIntellects Design/Development Manager [EMAIL PROTECTED]
>800-994-6364
>www.webintellects.com
>--------------------------------------------
>


-- 
+------------------------------------------------------------------------+
| Steve Edberg                                      [EMAIL PROTECTED] |
| University of California, Davis                          (530)754-9127 |
| Programming/Database/SysAdmin               http://pgfsun.ucdavis.edu/ |
+------------------------------------------------------------------------+
| "Restriction of free thought and free speech is the most dangerous of  |
| all subversions. It is the one un-American act that could most easily  |
| defeat us."                                                            |
|                 - Supreme Court Justice (1939-1975) William O. Douglas |
+------------------------------------------------------------------------+

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to