On Tue, Mar 18, 2008 at 9:10 AM, Aparajita Fishman <[EMAIL PROTECTED]> wrote:
> Test in other browsers (especially IE), if it works then run with it. > You could also try 302 instead of 303, see if that works. I set up a test server for the response forced redirect. Firefox using LiveHTTPHeaders reports forcing the "Location" in the response header as Redirect, so we'll go with that. The odd thing is that when I force the reponse status code (302 or 303), the browsers just lock up. They get the headers OK, but then report that the page cannot be found. FF just goes blank. However, when I leave out the Set Reponse Status completely, asnd only set the Response Header Location, it works as expected. Tested in Mac Safari, FF; Win IE6, FF, IE7 Below is the result of that test. The response headers are shown for a Location intercepting https://testdb6.domain.org and redircting to www.amazon.com. When I force the reponse status code, it breaks. Setting only the Location, it works. That's what I'm sticking with... ###### Forcing the response status to 302 (REDIRECT) ######### https://testdb6.domain.org/ GET / HTTP/1.1 Host: testdb6.domain.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: __utma=138194357.1630865100.1205952961.1205952961.1205952961.1; __utmb=138194357.3; __utmc=138194357.3; __utmz=138194357.1205952961.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) If-Modified-Since: Wed, 19 Mar 2008 19:19:59 GMT HTTP/1.x 302 Redirect. Server: 4D_WebStar_D/2004 Date: Wed, 19 Mar 2008 19:23:32 GMT Content-Length: 0 Content-Type: text/html Connection: close Last-Modified: Wed, 19 Mar 2008 19:23:32 GMT Expires: Thu, 20 Mar 2008 19:23:32 GMT ###### NOT forcing the response status ######### https://testdb6.domain.org/ GET / HTTP/1.1 Host: testdb6.domain.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: __utma=138194357.1630865100.1205952961.1205952961.1205952961.1; __utmb=138194357.3; __utmc=138194357.3; __utmz=138194357.1205952961.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) If-Modified-Since: Wed, 19 Mar 2008 19:19:01 GMT HTTP/1.x 302 Redirect. Server: 4D_WebStar_D/2004 Date: Wed, 19 Mar 2008 19:19:59 GMT Cache-Control: no-cache Pragma: no-cache Expires: Wed, 19 Mar 2008 19:19:59 GMT Location: http://www.amazon.com Content-Length: 3202 Content-Type: text/html Connection: close Last-Modified: Wed, 19 Mar 2008 19:19:59 GMT -- Thanks, Michael Check _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
