On Tue, 5 Dec 2006, Oliver Jeeves wrote:

> Kristian Nilssen wrote:
>> So how would the image be displayed if I don't flush the buffers? Simplified
>> application is...
>
> Hang on, what exactly are you trying to do here? Are you trying to
> display an image/html/whatever, and _then_ get the page to redirect?
>
> If so, you can't do this using the methods we've been discussing here.
>
> What you want to do instead, is set the refresh header.
>
> $r->headers_out->add('Refresh' => '0; ' . $url);
>
> This would set it to re-direct 0 seconds after arriving at the page -
> change the 0 to a higher number for a pause.

The other way to do this is to use Javascript to control the reloading of 
images. That's probably the way I'd do it.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to