Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How to replace the output (new html page)?

by Anonymous Monk
on Jan 19, 2012 at 11:24 UTC ( #948760=note: print w/ replies, xml ) Need Help??


in reply to How to replace the output (new html page)?

You are searching for some kind of server push with HTTP. It can be done -- look at a Bugzilla's after-search "munching bugs" screen.

I'm not familiar with it, but I suspect it is a case of sending two files with "Content-Disposition: inline" and some sort of MIME splitting to distinguish the two HTML pages. Try to find out more by reading the Bugzilla source.


Comment on Re: How to replace the output (new html page)?
Replies are listed 'Best First'.
Re^2: How to replace the output (new html page)?
by Anonymous Monk on Jan 19, 2012 at 17:32 UTC

    As the other Anon hinted at, server push technology (originally introduced by Netscape -- yes, it's that old) appears not to work in MSIE, but the other major browsers seem to handle it fine.

    An alternative solution would be to save your second HTML page (temporarily?) to a publicly-accessible place, and redirect/link there once you are done. Some strategically placed output flushing might work best there (but might also be broken by a change of your web server or CGI serving configuration).

Re^2: How to replace the output (new html page)?
by Anonymous Monk on Jan 19, 2012 at 11:43 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948760]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2016-02-09 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (329 votes), past polls