|
Re: $m->abort and <%cleanup>: msg#00218web.mason.user
On Sun, 24 Aug 2003, Jonathan Lang wrote: > 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? Cleanup blocks are only executed if the component exits normally. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: $m->callers() dies with argument greater than or equal to stack depth: 00218, Dave Rolsky |
|---|---|
| Next by Date: | Re: Website Templating Systems -- Best Practices Documentation?: 00218, Perrin Harkins |
| Previous by Thread: | $m->abort and <%cleanup>i: 00218, Jonathan Lang |
| Next by Thread: | [AIX 4.3.3] perl 5.6.1 + mod_perl 1.27 + apache 1.27 + libapreq 1.2 + HTML::Mason 1.22 OK: 00218, Jose . auguste-etienne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |