Home : Products : Others : Fileman :

Products: Others: Fileman: Re: [Swissair] Fileman and IE6: Edit Log

Here is the list of edits for this post
Re: [Swissair] Fileman and IE6
Hi,

Did you change fileman.cgi? if so, make sure it hasn't print "content-type:text/html\n\n"; command.
Anyway, you can change the scripts a litte bit:

my %header_args;
# Check to see if we need to authenticate.
if ($fm->{cfg}->{username} and $fm->{cfg}->{password}) {
...
if () {
....
}
# Logged in ok, save username, password into cookie
elsif ($fm->{cgi}->{login}) {
%header_args = (-cookie => [
$fm->{in}->cookie ( -name => 'username', -value => $username, -expires => ''),
$fm->{in}->cookie ( -name => 'password', -value => $encrypted, -expires => ''),
]);
}
}
print $fm->{in}->header(%header_args);

$fm->process();

That should work.

TheStone.

B.

Last edited by:

TheStone: Jan 22, 2002, 11:28 AM

Edit Log: