Elizabeth,
I assume it's the run modes that "perform actions" that you don't want to return any output. Eventually though you need to return some kind of message to browser. What do you want to happen after the action is performed? -mark On Fri, 19 Oct 2001, Elizabeth Vaughn wrote: > > Hi all - > > I just started using cgiapp and have a question I have not seen in the > archives, although it may be there and I just couldn't find it. I would > like to have some run modes that 'perform actions' and other run modes that > 'create output'. The problem is, even when my run mode method returns an > empty $output, run() still prints the header(s). I have tried temporarily > redirecting STDOUT and this works but seems a little clunky. > > Since CGI leaves the printing to the implementation, I am wondering why > cgiapp insists on doing it? Is there a simple way to control this that I > have missed? If not, would anyone else be interested in the ability to > control whether or not output is generated? One solution might be for run() > return immeadiately after executing the run mode if $body is empty. > > Any ideas or help would be greatly appreciated. Thanks! > > Elizabeth > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > . . . . . . . . . . . . . . . . . . . . . . . . . . Mark Stosberg Principal Developer [EMAIL PROTECTED] Summersault, LLC v: 765-939-9301 ext 223 website development . . . . . http://www.summersault.com/ . . . . . . . --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
