You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2000/05/18 22:06:35 UTC

RE: Session Trouble..

Use

PerlSetEnv EMBPERL_COOKIE_PATH /

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: embperl-return-428-richter=ecos.de@perl.apache.org
> [mailto:embperl-return-428-richter=ecos.de@perl.apache.org]On Behalf Of
> Sangmook Yi
> Sent: Friday, May 19, 2000 2:54 AM
> To: embperl@perl.apache.org
> Subject: Session Trouble..
>
>
>
>  I have some trouble with Apache::Session handling session variable.
>  The problem is that when I accessed %udat at subdirectory /user,
> Apache::Session makes its own EMBPERL_UID combined with /user path.
> then, I access %udat at main directory '/'. Apache::Session makes
> another EMBPERL_UID combined with / path.
>
>  At result, two EMBPERL_UID cookie values exist at subdirectory /user
> so, %udat value defined at directory '/' doesn't appear at subdirectory
> /usr because EMBPERL_UID combined with /usr is proceed.
>
>  Some interesting is that.
>  Now I put session configuration parameter at top level of httpd.conf.
> when I put this configuration parameter in the <Files *.epl> block,
> sometimes session can't be created, and sometimes session can't be removed
> after browser shutdown.
>
>  this is my configuration data of Apache::Session
>
> PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
> PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:sessions
> UserName=xxxxx Password=xxxxxx"
>
>  Anybody knows about this problem?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>