David Dorward wrote: > On Wed, Aug 03, 2005 at 10:45:35PM -0700, Luinrandir wrote: > >>I want to create two web pages in two different windows >>from one CGI. > > > Each request gives one file, that's how HTTP works. You will need at > least two requests, with the script running twice (or two scripts > running once each). > > You can use JavaScript to spawn a second window, although it might be > blocked by popup blockers (the specifics of such a solution are rather > off topic for this list though, so I'll suggest you look elsewhere if > you want to go down that path). >
Just to be thorough, not specifically because I like them, I will mention frames. Frames are an easy way to give the appearance of two requests (because there are actually three) without many client side limitations. Most *graphical* browsers support frames these days. And though I don't yet have experience with it I suppose you could look into Ajax. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>