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
|
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)...
|