FAQ
I have a logout.epl file with this construct:

%udat = () ;
my $prot = "http://";
if ($forceHttps and $ENV{HTTPS} ne 'on') {
$prot = "https://";
}
my $fn = "login.epl";
$fn = $prot . $ENV{HTTP_HOST} . $basedir . $fn;
$http_headers_out{'Location'} = $fn

But when I reach login.epl, %udat is still fully populated. Does the
relocation have this influence?

--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 12.00-18.00 Email: kar@kakidata.dk
2000 Frederiksberg Lørdag 12.00-16.00 Web: www.suse.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org

Search Discussions

  • Kaare Rasmussen at Mar 31, 2003 at 10:57 am
    Sorry, needs more info.
    But when I reach login.epl, %udat is still fully populated. Does the
    relocation have this influence?
    Not all the time. Sometimes it is, sometimes not. I print %udat from
    base.tepl, but that shouldn't make any difference (?)

    I'm using 2.0b9 from cvs (taken a couple of months ago).

    --
    Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
    Kaki Data tshirts, merchandize Fax: 3816 2501
    Howitzvej 75 Åben 12.00-18.00 Email: kar@kakidata.dk
    2000 Frederiksberg Lørdag 12.00-16.00 Web: www.suse.dk

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Luiz Fernando Bernardes Ribeiro at Mar 31, 2003 at 1:14 pm
    Hi,

    I am not sure but it could be due to the tie implementation of %udat wich has
    also other issues and limitations.

    In my login page, when I want to clean %udat I simply iterate on each value,
    ex:

    foreach (keys %udat) {
    delete $udat{$_};
    }

    Regards,

    Luiz Fernando B. Ribeiro
    Engenho Soluções S/C Ltda.
    Em Seg 31 Mar 2003 07:40, Kaare Rasmussen escreveu:
    I have a logout.epl file with this construct:

    %udat = () ;
    my $prot = "http://";
    if ($forceHttps and $ENV{HTTPS} ne 'on') {
    $prot = "https://";
    }
    my $fn = "login.epl";
    $fn = $prot . $ENV{HTTP_HOST} . $basedir . $fn;
    $http_headers_out{'Location'} = $fn

    But when I reach login.epl, %udat is still fully populated. Does the
    relocation have this influence?



    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedMar 31, '03 at 10:40a
activeMar 31, '03 at 1:14p
posts3
users2
websiteperl.apache.org

People

Translate

site design / logo © 2022 Grokbase