On Apr 3, 2004, at 6:11 PM, Andre Rombauts wrote:


And what about if the session is 'broken'...? No way to close that file. Any
other user will be prevented to access... :-(


André

you can create a expiration lock, like this, check the timestamp of the lock file, if it's too old, ignore it... you can work like this:


every five minutes the stack thats running (the first user stack) will touch the lock file, this will modify it's timestap. The second user need only to query if the timestamp is more than five minutes old, this will mean that session for previous user was broken or that he left.

Cheers



--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to