One thing:

> What you'll need to do is add *two* timestamps to each user -- one for
> when they first accessed the system, and one when they last requested
a
> page.  Your "15 minute check" should then use the difference between
> these values to determine whether the user has been inactive for 15
> minutes.

My apologies -- this will give you their total session time.  To work
out if they've been inactive for more than 15 minutes you'll have to do
a time check comparing the "last active" timestamp and the current time
using now().

Tim.

--
-------------------------------------------------------
Badpen Tech - CF and web-tech: http://tech.badpen.com/
-------------------------------------------------------
RAWNET LTD - Internet, New Media and ebusiness Gurus.
WE'VE MOVED - for our new address, please visit our
website at http://www.rawnet.com/ or call us any time
on 0800 294 24 24.
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to