:10 PM
To: Bernain, Fernando G.; 'Peter Beckman'; Hutchins, Richard
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Users on line
Hi
My bank uses two processes. If a user is inactive for more than about 5
minutes it forces you to log in again. This is done server side and just
does not allow you
I'm working in an app that requires to know who are on line. When the user
login the app, I use session in order to storage de name and login. Its
posible to do this???
Thanks!
Fernando Bernain
Senior A
Business Process Outsourcing
KPMG Argentina
Tel: 54 11 4316 5754
Fax: 54 11 4316 5734
Create a new table named online:
id
time (int unix timestamp)
uid (int probably, user ID of user in question, relating to a user info table?)
sessid (char 32 I think)
When the user logs in, I assume you set the session. Insert a row with the
current time (unix_timestamp(now()), User ID and the
without logging out.
-Original Message-
From: Peter Beckman [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 2:32 PM
To: Bernain, Fernando G.
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-DB] Users on line
Create a new table named online:
id
time (int unix timestamp
:32 PM
To: Bernain, Fernando G.
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-DB] Users on line
Create a new table named online:
id
time (int unix timestamp)
uid (int probably, user ID of user in question, relating to a
user info table?)
sessid (char 32 I think)
When the user
, January 03, 2003 2:32 PM
To: Bernain, Fernando G.
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-DB] Users on line
Create a new table named online:
id
time (int unix timestamp)
uid (int probably, user ID of user in question, relating to a
user info table?)
sessid (char 32 I think
: Peter Beckman [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 4:49 PM
To: Hutchins, Richard
Cc: Bernain, Fernando G.; '[EMAIL PROTECTED]'
Subject: RE: [PHP-DB] Users on line
I agree; it'd be nice if there was some sort of code that'd be executed
when someone closed their browser
.; '[EMAIL PROTECTED]'
Subject: RE: [PHP-DB] Users on line
I'm thinking in something similar to ICQ or MSN. This is an app for a few
number of users (less than 50) but they need to know who are online when
they are working in the app too!!! Maybe I can use the table online and
insert then name
/
---
-Original Message-
From: Peter Lovatt [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 5:10 PM
To: Bernain, Fernando G.; 'Peter Beckman'; Hutchins, Richard
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Users on line
-- snip --
The only exception will be if the user
: RE: [PHP-DB] Users on line
Don't mean to nitpick, but from what I read onUnload works both when
navigating away and when closing ...
:)
Regards,
Matthew Moldvan
---
System Administrator
Trilogy International, Inc
http://www.trilogyintl.com/ecommerce
]
-Original Message-
From: Peter Beckman [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 4:49 PM
To: Hutchins, Richard
Cc: Bernain, Fernando G.; '[EMAIL PROTECTED]'
Subject: RE: [PHP-DB] Users on line
I agree; it'd be nice if there was some sort of code that'd be executed
when someone
I had asked on -questions about something similar to this.
My concern is how would a setup like this react to a dial up user that
hops ip addresses (like AOL). Would the session id remain constant,
over the ip hops??
Thanks
Peter Beckman wrote:
Create a new table named online:
id
time (int
Yes, IF the user has cookies turned on.
The cookie is stored on the users computer, regardless of if the IP
changes. I actually use sessions which have a php.ini set expiration date
of 6 months. I manually clean the sessions out every night, but the cookie
is set to expire after 6 months. The
13 matches
Mail list logo