Put your database touching commands in a try catch loop. In the catch part, 
attempt a reconnect and update the id if successful, throw an error if not. 

Bob


On Aug 8, 2012, at 11:45 AM, Andre Garzia wrote:

> I will research on that and see if it is something
> doable. I need a reliable way to detect when a database connection is
> no longer alive.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to