Mailing List Archive

Want to have a relative EMBPERL_COOKIE_EXPIRES variable !
I try to find an answer in the mailing-list history : nothing.

Using the EmbPerl post 1.2.1 and mod_perl 1.2.1 under Apache 1.3.11 I'd
like to be able to specify a length for the COOKIE_EXPIRES variable and not
a fixed date.


EMBPERL_COOKIE_EXPIRES='+1M' doesn't work since it doesn't use CGI::Cookie
subroutine.


What is the best way to handle cookie_expires while using %udat and
Apache::Session for commodity and transparency and no Execute ?

Do I need to modify Embperl.pm or Session.pm scripts ?


Thanks,

db
RE: Want to have a relative EMBPERL_COOKIE_EXPIRES variable ! [ In reply to ]
EMBPERL_COOKIE_EXPIRES is simply passed to the Cookie header. So everything
what the browsers understand will work here. For everything else you need to
patch Embperl.pm (and send me the patch :-)

Gerald


-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------


> -----Original Message-----
> From: modperl-return-696-richter=ecos.de@apache.org
> [mailto:modperl-return-696-richter=ecos.de@apache.org]On Behalf Of ml
> Sent: Monday, February 28, 2000 9:47 PM
> To: 'modperl@apache.org'
> Subject: Want to have a relative EMBPERL_COOKIE_EXPIRES variable !
>
>
> I try to find an answer in the mailing-list history : nothing.
>
> Using the EmbPerl post 1.2.1 and mod_perl 1.2.1 under Apache 1.3.11 I'd
> like to be able to specify a length for the COOKIE_EXPIRES
> variable and not
> a fixed date.
>
>
> EMBPERL_COOKIE_EXPIRES='+1M' doesn't work since it doesn't use CGI::Cookie
> subroutine.
>
>
> What is the best way to handle cookie_expires while using %udat and
> Apache::Session for commodity and transparency and no Execute ?
>
> Do I need to modify Embperl.pm or Session.pm scripts ?
>
>
> Thanks,
>
> db
>
>
>