Sorry, didn't read the question right.
The below still stands imho.

But you could start a global timer and on every mousemove or keypress reset
it.
If the timer reaches it's end, give the user a popup with a 30 sec answer
period.
If the user doen't interact, unlock the file and the user is readonly.


> -----Oorspronkelijk bericht-----
> Van: Bernard Visscher [mailto:[EMAIL PROTECTED] 
> Verzonden: donderdag 25 mei 2006 22:12
> Aan: 'Flashcoders mailing list'
> Onderwerp: RE: [Flashcoders] Timeout from Flash page
> 
> 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

Reply via email to