Gerald Richter wrote:
> >
> > > Like Cliff already wrote: How and where have you setup
> > > EMBPERL_SESSION_CLASSES and EMBPERL_SESSION_ARGS ?
> >
> > I used the dist. defaults...but am wondering if I shouldn't specify
> > exactly...
> >
>
> There are _no_ default, because I can't know how your system looks like. You
> have to set the following two configuration directives. The easiest thing is
> to put this piece of code at the top of your embpcgi.pl:
>
> BEGIN
> {
> $ENV{EMBPERL_SESSION_CLASSES} = "DBIStore SysVSemaphoreLocker" ;
> $ENV{EMBPERL_SESSION_ARGS} = "DataSource=dbi:mysql:session
> UserName=test" ;
> } ;
>
OR if you just want to use a temp storage area then:
BEGIN {
$ENV{EMBPERL_SESSION_CLASSES} = "FileStore SysVSemaphoreLocker";
$ENV{EMBPERL_SESSION_ARGS} = "Directory=/tmp/sessions";
}
>
> of course you need to change the db and user name. For documenation on how
> to setup the tables look at
>
> perldoc Apache::Session::DBIStore
>
> > > What is from your point of view better on the Apache::ASP session
> > handling?
> >
> > I found it easier to get it working for starters :-)
>
> I agree, that is a plus.
>
> > Apache::ASP is nice in
> > it's session handling because you can integrate the session with the way
> > Apache::ASP serves the request (do init and destroy stuff) which I don't
> > think you can do in Embperl.
>
> What do you mean with init and destroy stuff?
>
> > The $udat{stuff} thing is pretty handy, though
> > $Session->{stuff} isn't that much more typing :-) I can generally code
> > things faster in Apache::ASP than I can in Embperl...which I don't
> > understand...I'm not sure really where the difference lies, but I know I
> can
> > get things up and running even quicker than doing it in PHP :-)
> >
> > One thing I like about the Emperl persistence is the MySQL thing,
>
> That's the reason why you have to do more setup work...
>
> 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
> -------------------------------------------------------------
>
>
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]