- From: Rowland Shaw <Rowland.Shaw@seagatesoftware.com>
- Date: Thu, 18 Jan 2001 02:08:52 -0800
- To: "'Zdenek Kovanda'" <zkovanda@cssoftware.com>, www-html@w3.org
My feelings on this: Firstly some browsers react violently to multiple <html></html> blocks -- Amaya, for one, will only render the first block. Secondly, why are you doing this in this way? [This is veering on moving some HTTP protocol issues out of the HTML] IMHO, no CGI based application should send back <meta http-equiv=...> lines. IMHO, "Refresh: 0; url=..." is evil as a http header (why not use "Location: ..."?) Have you tried throwing it at: http://validator.w3.org/ ?? -----Original Message----- From: Zdenek Kovanda [mailto:zkovanda@cssoftware.com] Sent: 18 January 2001 03:55 To: www-html@w3.org Subject: 2 HTML tags in one document Importance: High Problem: Browser asks server for a page. The page doesn't send anything to server. The page simply does some database operations and then decides to redirect to one of 2 pages (e.g. some next page or error page). Redirection is done sending meta tag <meta http-equiv="Refresh" content=0 URL=...> to browser. Server knows that processing may spend long time. We tried this solution: Before database operation we send to browser simple html page dispaying message "Please wait...". After database operation we send new simple html document containing mentioned refreshing meta tag. As a result of that action browser contains 1 document with 2 html blocks: <html> <head></head> <body>Please wait...</body> </html> <html> <head><meta http-equiv="Refresh"......></head> <body><body> </html> I must say we tested it using all well known browsers: MS Internet Explorer, Netscape, Mozila. We found it works well! Questions: 1) Is it acceptable solution? Can we continue to use it? Will it work in next browsers? 2) Is there any better and "more correct" solution? Please, send answer on my e-mail address: zkovanda@cssoftware.com Zdenek Kovanda Project Manager CS Software, Inc. Prague, Czech Republic
Received on Thursday, 18 January 2001 05:09:35 UTC