Mailing List Archive

Embperl-Session don't span pages on same server?
Hi,

I'd like to use Embperls session handling on a site using
multiple Embperl pages.

My tests show that Embperl places the path (directory) of the embperl
file into the cookie. However, this prevents a page located
in e.g. /caddy to access a cookie set by a page in e.g. /products.

Is there a way to control this behaviour by a parameter,
I have not found any hints in the Embperl session handling docs.

_____

Thomas Corte
<thomas@knipp.de>
Re: Embperl-Session don't span pages on same server? [ In reply to ]
Hi,

sorry, found the solution:

PerlSetEnv EMBPERL_COOKIE_PATH /

does it.

_____

Thomas Corte
<thomas@knipp.de>
Re: Embperl-Session don't span pages on same server? [ In reply to ]
Hi,
>
> I'd like to use Embperls session handling on a site using
> multiple Embperl pages.
>
> My tests show that Embperl places the path (directory) of the embperl
> file into the cookie. However, this prevents a page located
> in e.g. /caddy to access a cookie set by a page in e.g. /products.
>
> Is there a way to control this behaviour by a parameter,
> I have not found any hints in the Embperl session handling docs.
>

EMBPERL_COOKIE_PATH
EMBPERL_COOKIE_DOMAIN
EMBPERL_COOKIE_EXPIRES

Gerald