13 Sep
2000
13 Sep
'00
7:53 p.m.
Aaron Bostick writes:
Would anyone on the list have a solution to implementing idle timeouts using FSSession?
I know you can cron up a simple job to delete the FSSession hierarchy based on date and time, but how do you know which sessions are still being used if you want to delete stuff say every 10 minutes or so? Under Unix, your code may look at the "last access time" (or universally the "modification time"). In Python, you can use the function "os.stat" to obtain this time.
Dieter