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]