logo       

$m->abort and <%cleanup>: msg#00193

web.mason.user

Subject: $m->abort and <%cleanup>

When I use $m->abort, does the <%cleanup> block get executed? I'm
attempting to emulate "server is busy" functionality by incrementing a
cached variable in the page's <%init> block and decrementing it in the
<%cleanup> block; if I call $m->abort(409) whenever the variable reaches
5, will I need to manually decrement the variable, or will Mason do it for
me?

=====
Jonathan "Dataweaver" Lang

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise