> On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote:
> > i am using embperl with cookies.
> > i also have this set in httpd.conf
> >
> > PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com
> > PerlSetEnv EMBPERL_COOKIE_PATH /
> > PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00 GMT'
> >
> > how are you checking to make sure cookies are sent?
> >
> > lwp-request -e 'http://www.domain.com/path/to/page/with/embperl|less
> >
> > You should see a SET-COOKIE header.
>

You need to setup session handling at all, e.g.

 PerlSetEnv EMBPERL_SESSION_CLASSES "FileStore SysVSemaphoreLocker"

Read the docs about Apache::Session which Stores and Locker modules are
available.
When you restart your apache, you should see a message about EMbperl Session
management enabled. Without this message it won't work

> I inserted those lines above into my httpd.conf, and did the
> lwp-request. All headers I do see are the following:

You will only get the cookie header if you write to the %udat hash inside
your page

Gerald



Reply via email to