Hi,
>
> I have some trouble getting session management to work. I'm using
> Apache Session 1.03, Embperl 1.3b4 with mod_perl on Apache 1.3.12,
> here what I put in the httpd.conf:
>
>   SetEnv  EMBPERL_DEBUG 2375713
>   SetEnv  EMBPERL_VIRTLOG /embperl/log

>   PerlSetEnv EMBPERL_COOKIE_DOMAIN "www.macnews.de"
>   PerlSetEnv EMBPERL_COOKIE_NAME   "SessionID"
>   PerlSetEnv EMBPERL_COOKIE_PATH   "/umfrage/dialog"

For testing I would try to remove the above three lines (also I don't know
if the changes anything, but makes things easier for the start)

>   PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
>   PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:session
UserName=apache Password=extremlysecret"
>   PerlModule Apache::Session
>   PerlModule HTML::Embperl
>   <Location /dialog/umfrage>
>     SetHandler   perl-script
>     PerlHandler  HTML::Embperl
>     Options      ExecCGI
>   </Location>
>

When Apache starts, you should see a message "Embperl session management
enabled", did you?


> However I never get a cookie from Embperl! I also tried with FileStore
> instead of DBIStore. Maybe I didn't understand the documentation
> right, but normally this small script should work:
>

Yes, the script is ok

Gerald

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

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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to