IE6 and Firefox do not work with the Location/302 Status redirect. IE6 hangs and Firefox clears the page and displays nothing.
Running this with Apache works in IE6 and Firefox using a "meta refresh" or the Location/302 status redirect. [Thu Apr 14 13:28:28 2005] server.pl: Setting Date equals Thu, 14 Apr 2005 17:28:28 GMT [Thu Apr 14 13:28:28 2005] server.pl: Setting Status equals 302 Moved [Thu Apr 14 13:28:28 2005] server.pl: Setting Location equals http://bfaist-ws:32080/cgi-bin/emsng_ietm_poe/IETM_Menu.pl [Thu Apr 14 13:28:28 2005] server.pl: Setting Set-Cookie equals emsng_ietm_poe_session_key=b5591e56918e34c76f9835846034f03d; path=/ Is this question better suited for a HTTP::Response/HTTP::Request list? Bob -----Original Message----- ********************************************************************** Confidentiality Notice The information contained in this e-mail is confidential and intended for use only by the person(s) or organization listed in the address. If you have received this communication in error, please contact the sender at O'Neil & Associates, Inc., immediately. Any copying, dissemination, or distribution of this communication, other than by the intended recipient, is strictly prohibited. ********************************************************************** From: David Davis [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 1:26 PM To: Bob Faist Cc: [email protected] Subject: Re: HTTPD meta refresh This isn't really a POE question, but I'll answer it. http://www.w3.org/TR/REC-html40/struct/global.html#edef-META ----- Some user agents support the use of meta to refresh the current page after a specified number of seconds, with the option of replacing it by a different URI. Authors should not use this technique to forward users to different pages, as this makes the page inaccessible to some users. Instead, automatic page forwarding should be done using server-side redirects. ----- Use a Location: header and a 302 status to redirect the browser. -- David Davis Perl Developer http://teknikill.net/ $7.95 per month hosting WITH ssh access http://hosting.teknikill.net/ On 4/14/05, Bob Faist <[EMAIL PROTECTED]> wrote: > POE 0.3009 and POE::Component::Server::HTTP question > > Windows XP > CGI::Application > > The content handler provides a login page URL which is rendered > correctly. Once the form is submitted, the user is validated and the > following HTML is returned to POE. > > <HTML> > <HEAD> > <title>Authorizing...</title> > <META http-equiv="refresh" > content="0;URL=http://bfaist-ws:32080/cgi-bin/emsng_ietm_poe/IETM_Menu > .p > l"> > </HEAD> > </html> > > This meta refresh works OK in Firefox but does not work OK in IE6. > Any reasons why this would not work for IE? If I run the CGI::App > alone with Apache, it handles the meta refresh OK in Firefox and IE6. > > There header attributes are being set in the response object. > > [Thu Apr 14 12:30:53 2005] server.pl: Setting Date equals Thu, 14 Apr > 2005 16:30:53 GMT > [Thu Apr 14 12:30:53 2005] server.pl: Setting Set-Cookie equals > emsng_ietm_poe_session_key=acb3e60100360eb087b5f1219865c730; path=/ > [Thu Apr 14 12:30:53 2005] server.pl: Setting Content-Type equals > text/html; charset=ISO-8859-1 > > ********************************************************************** > Confidentiality Notice > The information contained in this e-mail is confidential and intended > for use only by the person(s) or organization listed in the address. > If you have received this communication in error, please contact the > sender at O'Neil & Associates, Inc., immediately. Any copying, > dissemination, or distribution of this communication, other than by > the intended recipient, is strictly prohibited. > ********************************************************************** > >
