Re: EmbperlObject Execute Order

2001-05-01 Thread Gerald Richter
> Thanks for the quick reply. > But unfortunately after looking at the example I still do not know how i could solve my problem. Maybe I didn't describe it very well. > I am calling a module function in login.html that checks user name and password and sets the global $user_id. Problem is that t

Re: EmbperlObject Execute Order

2001-05-01 Thread Nicolas Parody
Thanks for the quick reply. But unfortunately after looking at the example I still do not know how i could solve my problem. Maybe I didn't describe it very well. I am calling a module function in login.html that checks user name and password and sets the global $user_id. Problem is that the sta

Re: 2 more embperl2 oddities - Execute

2001-05-01 Thread Gerald Richter
> The extra new can cause issues, especially with non-html data. As an > example, if you have a page with some sort of generic authentication check > at the top (via execute), and then you get some data (say an RTF file) from > a database or file. If you send the RTF data back to the client the ne

RE: 2 more embperl2 oddities - Execute

2001-05-01 Thread pcross
The extra new can cause issues, especially with non-html data. As an example, if you have a page with some sort of generic authentication check at the top (via execute), and then you get some data (say an RTF file) from a database or file. If you send the RTF data back to the client the newline at

Re: persistent DBI conncetions

2001-05-01 Thread Gerald Richter
> > does anyone know if the DBI interface in Embedded Perl can make > persistent connections ? > As with any module that is running under mod_perl, you can use Apache::DBI to have persitent database connections. If you running as CGI, you can use a patched version of DBIProxy to get the same res

Re: 2 more embperl2 oddities - Execute

2001-05-01 Thread Gerald Richter
> ---cut--- > [- > print OUT "*"; > Execute("it.epl"); > print OUT "*"; > -] > ---cut--- > > Goes into an endless loop. > This is a bug in Embperl > > (2) >... > I.e. it appends a newline to the file that has been executed. > That's like Embperl 1 does it, it always used to add a newline to the

Re: 2 embperl2 oddities

2001-05-01 Thread Gerald Richter
> > > Gets turned into: > > Yes, when Embperl outputs a attribute it knows about it will write the value in double quote, regardless how the source was. So will become also That's because Embperl internaly keeps known attributes in a tree structure and don't keep the quotes. As far as I s

RE: parameters in html files

2001-05-01 Thread Michael Stevens
> -Original Message- > From: Bjoern [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 01, 2001 7:05 PM > To: [EMAIL PROTECTED] > Subject: parameters in html files > > > Hi all, > > i have one question. How can i get values from parameters which i used > at execution of html files like thi

parameters in html files

2001-05-01 Thread Bjoern
Hi all, i have one question. How can i get values from parameters which i used at execution of html files like this : /test.html?abc=1 How can i get the value of abc ? thanks, -- *** Bjoern Teipel *** E-Mail : mailto:[EMAIL PROTECTED] HTTP: http://www.visit-bjoern.de Frankfurt am Main * G

RE: How to send mutiple cookie entries?

2001-05-01 Thread Michael Stevens
> -Original Message- > From: Andy Lim [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 01, 2001 5:10 PM > To: [EMAIL PROTECTED] > Subject: How to send mutiple cookie entries? > > > > Hello. I am trying to send mutiple cookie entries($cookie1, $cookie2, > $cookie3) as you can see from bel

How to send mutiple cookie entries?

2001-05-01 Thread Andy Lim
Hello. I am trying to send mutiple cookie entries($cookie1, $cookie2, $cookie3) as you can see from below code. use CGI; my $cookie1 = cookie(-name=>'eid', -value=>$arr[0], -expires=>'1h'); my $cookie2 = cookie(-name=>'uname', -value=>$uname, -expires=>'1h'); my $

RE: persistent DBI conncetions

2001-05-01 Thread pcross
You can try looking at Apache::DBI. It supports connection pooling. -Original Message- From: Bjoern [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 9:05 AM To: [EMAIL PROTECTED] Subject:persistent DBI conncetions Hi all, does anyone know if the DBI interface in

persistent DBI conncetions

2001-05-01 Thread Bjoern
Hi all, does anyone know if the DBI interface in Embedded Perl can make persistent connections ? I saw the some newsletters which denied this ! I this right ? regards, -- *** Bjoern Teipel *** E-Mail : mailto:[EMAIL PROTECTED] HTTP: http://www.visit-bjoern.de Frankfurt am Main * Germany

2 more embperl2 oddities - Execute

2001-05-01 Thread Jonny Cavell
it.epl:   ---cut--- hello ---cut---     (1) ---cut--- [-print OUT "*";Execute("it.epl");print OUT "*";-] ---cut---   Goes into an endless loop.     (2) ---cut--- *[- Execute("it.epl") -]* ---cut---     Gives the following output: ---cut--- *hello   * ---cut---   I.e. it appends a newline to

2 embperl2 oddities

2001-05-01 Thread Jonny Cavell
Hi,   (1)   Gets turned into:   (2)   When we submit a form it behaves differently than if we have:   If we check the box and submit the page back to itself, the second one keeps the box checked whereas the first one does not. Cheers   Jonny   http://www.iii.co.uk Interactive Investo