I thought about that (caching) so I tried adding "Pragma: no-cache" to the
header but it still didn't work.

I will try the ?$time idea.  Thanks.

-----Original Message-----
From: Odounga y'Oyabi [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 9:29 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [cgiapp] Redirect problem in Netscape


My guess is there might be a problem of caching. So try this:

myscript.pl?$time

where time will change any time the script is called:

$time = time();

Regards,

Roses Longin Odounga


Falltorweg 4
D-65428 R�sselsheim
Tel. +49 (0) 6142 - 938978
GSM  +49 (0) 173  - 3201063
Mailto [EMAIL PROTECTED]
http://www.gabon-net.com



>From: "Darryl Cameron" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [cgiapp] Redirect problem in Netscape
>Date: Sat, 20 Oct 2001 20:20:15 -0700
>
>I have a script called mycript.pl which uses my CGI::Application module
>mymod.pm.
>
>In one of the functions in mymod.pm I do a redirect after processing some
>data.  The redirect code is:
>
>
>     $self->header_type('redirect');
>     $self->header_props(-location => $previous_referer);
>
>
>$previous_referer will be various values but when it is "myscript.pl"
>Netscape won't redirect properly, it gives me a Document contains no data
>error.  If i set $previous_referer to "myscript.pl?rm=main" then it works
>(main is my default rm so I shouldn't need to set it).  I also added a WARN
>line to myscript.pl to see if it was even getting called in the redirect
>and
>it doesn't when $previous_referer is "myscript.pl" but it does when
>$previous_referer is "myscript.pl?rm=main".
>
>In IE this all works fine.
>
>I can do a work around that alters the functionality of my program but
>works, but I would like to figure out why this problem is happening.
>
>Darryl Cameron
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to