Re: persistent problem ;-)

2000-07-31 Thread ___cliff rayman___
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

Re: persistent problem ;-)

2000-07-31 Thread Gerald Richter
> > > 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 f

Re: persistent problem ;-)

2000-07-31 Thread Jon Brisbin
> here are the instructions: > http://perl.apache.org/embperl/Embperl.pod.7.html#Session_handling Yep, read them already...did all that before I came here :-) I found a lot of sketchy generalizations about what to do (most people I guess use the MySQL stuff?? I found a lot of references to it,

RE: persistent problem ;-)

2000-07-31 Thread Gerald Richter
> > The platform is freebsd/apache 1.2.6 (no mod_perl) with > Apache::Session 1.03 > (tried 1.5x too) You need 1.0x, 1.5x does not work with the current release > and HTML::Embperl 1.3 installed in my personal directory, > not in the server's main site_perl directory...(don't know if that makes

Re: persistent problem ;-)

2000-07-31 Thread ___cliff rayman___
i tested out your site with lwp-request. you are not sending a Set-Cookie header - so - no cookies are being sent back to you. my site uses embperl session handling and we've never had a problem. perhaps you need to post some more info re: how you have everything configured. -- ___cliff [EMAIL PR

persistent problem ;-)

2000-07-31 Thread Jon Brisbin
I'm having some troubling getting my Embperl installation to do persistence... Here's an example: http://www.jbrisbin.net/test.ehtml?action=change&name=John+Doe If you click on what should be a persistent link, the cookie is not set, and the data is not persistent. The platform is freebsd/apach

RE: fdat blues

2000-07-31 Thread Jack Cushman
I'm not experienced enough with embperl to instantly figure out the problem, but my first debugging approach would be to print out all of %fdat and figure out what it does contain. My personal preference to do that would be use Data::Dumper; print OUT Dumper %fdat; If you've already tried someth

Re: Embperl and the apache API

2000-07-31 Thread ___cliff rayman___
make that: it is called $req_rec in embperl. :-)) ___cliff rayman___ wrote: > it is called $req_rec in apache. > i have used it in production for a long time. > > -- > ___cliff [EMAIL PROTECTED]http://www.genwax.com/ > > martin langhoff wrote: > > > answering myself, > > > > anything pa

Re: Embperl and the apache API

2000-07-31 Thread ___cliff rayman___
it is called $req_rec in apache. i have used it in production for a long time. -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/ martin langhoff wrote: > answering myself, > > anything passed with the PerlSetEnv does get into the %ENV hash, > but > that was a silly example. > >

fdat blues

2000-07-31 Thread Kaare Rasmussen
Once again I have a very strange problem. In my order form I have a construction like this [$ if (defined($fdat{order})) $] say thanks for the order [$ else $] have a form where there is a submit button called "order". [$endif$] Problem is, it works only part of the time. Seems that if I change

Re: Embperl and the apache API

2000-07-31 Thread martin langhoff
answering myself, anything passed with the PerlSetEnv does get into the %ENV hash, but that was a silly example. I *want* to get to $r :) martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Embperl and the apache API

2000-07-31 Thread martin langhoff
hi, I'm developing a custom Perl Module that gets called from Embperl pages. Of course, it's all running under apache/mod_perl. What I need is to get to $r to ask a few things, like the value of a PerlSetEnv directive. I've read embperl's man pages and found nothing...

RE: manipulating %ENV

2000-07-31 Thread Dirk Lutzebaeck
Gerald Richter writes: > > > >PerlSetEnv ORACLE_HOME /oracle/home/ > > > > > > Use > > PassEnv ORACLE_HOME or make it a closure and export it in a module: use Exporter; @ISA = qw(Exporter); @EXPORT = qw(&env); { my %_env = %ENV; sub env { $_env{$_[0]} } } ... and lat