Re: Trouble using mod_perl and IE5.x, IE6.x

2002-11-07 Thread simon
Hello,
I'm not generating an error page.
The trouble occurs for sample with this little simple script (sometime on 1 browser 
using 16 browsers simultanly for sample) :

print(html);
sleep (5);
print(head);
print(titleTITRE DE LA PAGE\/title);
print (META http-equiv=\PRAGMA\ content=\NO-CACHE\);
print(\/head);
print(body bgcolor=\red\);
print (SAMPLE TROUBLE HTML PAGE);
print(\/body);
sleep (5);
print (\/html);


Thanks for your help.
Christophe.


Per Einar Ellefsen wrote:

 Hello Christophe,

 At 11:55 07.11.2002, simon wrote:

 Hi,
 I'm using Apache 1.3.26, mod_perl 1.26 and perl 5.6.1 on a HPUX 11
 system.
 My program genarate HTML page with perl cgi.
 
 Sometimes, html pages are lost by the IE browser :
 Internet  Explorer chooses to display the default Microsoft internal
 server error  page instead of the generate HTML page.
 This HTML page is well generated but the code is in the error_log file
 of the http server.
 This trouble don't appear every time on the same page.
 There is no trouble with Netscape 7.

 If it is an error page you are generating (it seems like it), you have hit
 a known problem with IE described with a solution here:
 
http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html#Internet_Explorer_disregards_your_ErrorDocuments

 --
 Per Einar Ellefsen
 [EMAIL PROTECTED]

--
Christophe SIMON

EVER TEAM
Knowledge Into Action
Immeuble l'Aquilon - 40 b rue de la Villette 69425 LYON Cedex 03 - FRANCE
Tél. : +33 (0)4 26 68 33 00 - Fax  : +33 (0)4 26 68 33 16
mailto:c.simon;ever-team.com - Site Web : http://www.ever-team.com





Re: Trouble using mod_perl and IE5.x, IE6.x

2002-11-07 Thread Ged Haywood
Hi there,

On Thu, 7 Nov 2002, simon wrote:

 The trouble occurs for sample with this little simple script
 
 print(html);
 sleep (5);
 print(head);

Do you first send the HTTP headers somehow?

73,
Ged.




RE: Trouble using mod_perl and IE5.x, IE6.x

2002-11-07 Thread Alessandro Forghieri

Greetings.

Now this is OT'ish but...

 print(titleTITRE DE LA PAGE\/title);

Why are you escaping all your '/'s? There is no need to do it.
Cheers,
alf

P.S: I strongly suspect that the sleep call and its position (what if you
move it above the /body tag?) are to blame for the behavior you see (i.e.
I'd bet you are triggering some timeout in IE). But that's only gut feeling.