Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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)?
Re^2: How to replace the output (new html page)?
by Anonymous Monk on Jan 19, 2012 at 11:43 UTC
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).

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 having an uproarious good time at the Monastery: (13)
As of 2014-09-02 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls