I guess that simply activating a CGI variable called 'error'. Then
asking your script to react when it finds it activated. That variable
might even be activated with a JS. script. Or by saving it in a
temporary text file with some other IDs.
On mar, 2004-03-23 at 20:48, suppressed wrote:
> I have what looks like a fairly simple problem. I have a run mode and
> this run mode calls a utility method. The utility method might throw an
> error, but the error is fixable. I want my utility method to see if it has an
> error and then switch to a specific error run mode to fix the error. The
> problem is, of course, I can't switch run modes from my utility method,
> the only place I can switch is from the cgiapp_prerun method. Whats
> the best way to hack around this problem?
>
> ---------------------------------------------------------------------
> Web Archive: http://www.mail-archive.com/suppressed/
> http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> To unsubscribe, e-mail: suppressed
> For additional commands, e-mail: suppressed
--
.
. +-+-+-+-+-+-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+
J@ |A|l|b|e|r|t|o| |A|d|r|i|a|n| |S|c|h|i|a|n|o|
MR +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
gmQ?WMQg.......mgkMYHBW9m.. |a|l|e|t|i|a|@|2|v|i|a|s|.|c|o|m|.|a|r|
d# .= ?"?""7! ,Ne +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
?N, ..J+dMMMM% .He
.THQmmmqKT8?! .g#5!W&. \|||/
.... ..JMMMMMN, ." .m. N, (o o)
.M"?7 suppressed ,M| +-------oooO--(_)-----------+
MF .M#! ..M""?T^ ?h.. J#^ |http://bol.sourceforge.net |
?Np..M#3 .MF .., Jr M |get UR Book of Life 4 FREE |
?"7` .M= .M9"' J$ .^ | JAVA+XML 4 every desktop! |
.M` .F ?D ?M +------------------Ooo------+
.M' JF M% |__|__|
?kHB^ .MF .Jg+ggH^ || ||
g# .#"! ooO Ooo
" ,^ \---------/
$ : \-/ | 2004 |
"9 ` J|a|v|E http://www.jave.de/ |ARGENTINA|
/-\ /---------\
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.