You could go for a serverpage that is polled every minute or so from the flashclient, with sendandload or xmlsocket. If the poll doesn't arrive anymore, unlock the file. This way the file could be locked for one minute when a client has gone, not more... Don't put the unlocking logic into a client...
> -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Randy Tinfow > Verzonden: donderdag 25 mei 2006 22:07 > Aan: flashcoders@chattyfig.figleaf.com > Onderwerp: [Flashcoders] Timeout from Flash page > > We've got a Flash intranet app that offers write privileges > to the first user and locks out subsequent concurrent users. > Sometimes a user will walk away without closing the browser > or logging out of the app. This is a problem because the > program remains locked indefinitely. > > Is there a method in Flash to detect inactivity and forward > to a new page after an interval of time? Tried this with the > mouse listener and it disabled all the buttons. > > Any suggestions? > > Thanks, > > Randy Tinfow > IMAGE PLANT > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com