Problem with dispatch and passowrd protected stacks

Bob Sneidar bobs at twft.com
Tue Jul 3 11:37:06 EDT 2012


I think the only way that happens is if there is an error thrown in the protected stack. Wrap the call in a try/catch construct and then check for the error. sqlYoga works this way. 

Bob


On Jul 2, 2012, at 7:29 PM, Peter Haworth wrote:

> I just came across a bad problem with passowrd protected stacks.
> 
> I have a button on a card whose handler uses dispatch to send a message to
> a card in a stack whcih is password protected.  When the dispatch is
> executed, I get a request for the password for the target stack.  I'm
> pretty sure that's not how password protection is supposed to work!
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list