perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luiz Fernando Bernardes Ribeiro <l...@engenhosolucoes.com.br>
Subject Re: Does udat always work?
Date Mon, 31 Mar 2003 13:15:16 GMT
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


Mime
View raw message