perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz Fernando B. Ribeiro" <l...@engenhosolucoes.com.br>
Subject Re: Session timeouts
Date Wed, 10 Dec 2003 13:14:53 GMT
Earwig wrote:
>   Hey guys.  I've used EMBPERL_COOKIE_EXPIRES to expire cookies, but in 
> some instances I would also like to expire sessions based on inactivity, 
> not an arbitrary time limit.  I'm not spotting the best way to do this.  
> Any way to do this in embperl, or apache, or Apache::Session settings?

Store an initial "time" in %udat and on each request compare if the 
actual time - initial time > maximum time and them timeout or not the 
session.

Hope its clear enough.

-- 
Luiz Fernando B. Ribeiro
Engenho Soluções para a Internet

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


Mime
View raw message