Ticket #440 ( Closed )

Short Description Time Driven Events
Entered By: gaucho When: 2000-02-07 17:58:43 Build: 2.0.7a Ga
Categories Type: Question   Department: Product   Category: Not Categorized
Description
Hi Bill,

I would like to know if there is any way I can do a time 
driven event.
Here is the scenario:

Once a user clicks on a certain option, I would like to set 
up a timer so that I can log them off after 15 minutes 
regardless of the fact that they may still have an active 
session.  So even if they are still doing some kind of 
transaction, I would like to log them off.

Any suggestions?

Chuck
Append By: WindSurfer  When: 2000-02-09 09:22:57  New Status: Pending Customer
Comment
Sorry for the delay--while it will take some 
experimentation, you can probably do this with an ODBC 
database, inserting a row for each of these users when 
he/she does the action.  In the INSERT, use date/time 
arithmetic to create a row that has a timestamp = latest 
time they can be on.  Include sessionID in the row.

Then, have an interval section running once every minute or 
so, doing a SELECT using current time in the WHERE against 
the timestamp.  All returned rows should then be used with 
a ManageSessions("stop",sessionid)...