Re: [PHP] Re: Detecting user logout.

2001-10-03 Thread nayco

Well, I personnally use a SQL db into which I insert some information about
the connected users (IP,LOGIN if member or visitor if not, MD5 session
id -'cause I cannot use PHP4 sessions, my provider's got php3 - and unix
epoch DATE).
Each time a user sees a page, this user's DATE field is updated in the db,
and rows where DATE is older than 10 minutes are deleted, so inactive
members are not displayed anymore in the connected members list 
As well, I use this table to implement sessions to authenticate users, using
cookies and MD5 strings.

If you want a script  Tell me !!!


(°-Nayco,
//\[EMAIL PROTECTED]
v_/_ http://nayco.free.fr


- Original Message -
From: Alexander Deruwe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 3:21 AM
Subject: Re: [PHP] Re: Detecting user logout.


| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| On Tuesday 02 October 2001 18:11, tonyz wrote:
|  why bother charting logouts.  use cookies that expires so you know that
|  they will eventually lose access and need to login again.
|
| Yes, but then I can't show a list of logged in users (for administration
| purposes).
|
| Alexander
|
|
| -BEGIN PGP SIGNATURE-
| Version: GnuPG v1.0.6 (GNU/Linux)
| Comment: For info see http://www.gnupg.org
|
| iD8DBQE7umgFySJLuRUx8aQRAo7+AJkB0GD6i+0mNIfsaoakw/WP1klyagCfZ8l6
| QB3ijCXziMhlhHyjDBgu/rM=
| =Tlms
| -END PGP SIGNATURE-
|
| --
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
| To contact the list administrators, e-mail: [EMAIL PROTECTED]
|
|
|



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Detecting user logout.

2001-10-02 Thread Alexander Deruwe

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 02 October 2001 18:11, tonyz wrote:
 why bother charting logouts.  use cookies that expires so you know that
 they will eventually lose access and need to login again.

Yes, but then I can't show a list of logged in users (for administration
purposes).

Alexander


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7umgFySJLuRUx8aQRAo7+AJkB0GD6i+0mNIfsaoakw/WP1klyagCfZ8l6
QB3ijCXziMhlhHyjDBgu/rM=
=Tlms
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]