Re: problem with %udat

2003-01-16 Thread Gerald Richter
> > > % apachectl start > > > [6351]SES: Embperl Session management enabled () > > > >Mmmh, you should see a version number between the braces. DO you have also > >Apache::Session installed (without the ending X) ? > > Apache::Session and Apache::SessionX are installed. I can run a tiny

Re: Duplicating SELECT

2003-01-16 Thread Gerald Richter
> Embperl 2.0b9 will add any SELECT field to the [$hidden$], so it will be > duplicated. If the user chooses an entry with value 1, it will be 1\t1 if I > use [$hidden$]. > > It did not do that with 2.0b8. > I works correctly for me, but it is required that the value inside %fdat is one of the va

Re: Trying to put a hash in $req.

2003-01-16 Thread Gerald Richter
> do decode(*value); What is this? > $req->{$fields{$pairs[0]}} = $value; must be $req->{fields}{$pairs[0]} = $value; and this >while(($key, $value) = each($req->{%fields})) { must be while(($key, $value) = each(%{$req->{fields}})) { Gerald -

Trying to put a hash in $req.

2003-01-16 Thread Scott Chapman
I'm trying to parse the ENV{QUERY_STRING} and put it in a hash (%fields) in $req. This is being done in constants.epl under EmbPerl::Object. I want to make this hash available to the page being loaded without having to go through too much trouble and I don't want to use cookies. I'm doing thi

Re: ENV{QUERY_STRING} not included in %fdat?

2003-01-16 Thread Gerald Richter
>Are there security implications or other problems with using GET for >submission? GET is limited in length (depends on the web server) and the user will see it in the address line. You can also add hidden input fields to your form to add data to the POST, instead of using GET and appending i

Re: problem with %udat

2003-01-16 Thread Michael Boudreau
Sorry to have delayed so long in following this up... At 10/5/02 11:13 PM, Gerald Richter wrote: > > When I start up Apache, it reports that session support is enabled: > > % apachectl start > [6351]SES: Embperl Session management enabled () Mmmh, you should see a version number betwe

Re: ENV{QUERY_STRING} not included in %fdat?

2003-01-16 Thread Scott Chapman
Are there security implications or other problems with using GET for submission? On Thursday 16 January 2003 11:47 am, Gerald Richter wrote: > >I was surprised to find that the URL parameters passed in ?name=value > > after the URL are not being parsed into %fdat. Is there an embperl way > > of

Re: ENV{QUERY_STRING} not included in %fdat?

2003-01-16 Thread Gerald Richter
>I was surprised to find that the URL parameters passed in ?name=value after >the URL are not being parsed into %fdat. Is there an embperl way of getting >at this data or do I need to parse it manually? Embperl passes the URL parameters in %fdat. That's what it always did. Only if you have POST

Re: Can't locate object method "TIEHASH"

2003-01-16 Thread Gerald Richter
 Hi,   sorry I have overseen in your last message that you are using 2.0b8. 2.0b8 doesn't support Embperl::Session anymore. Please use Apache::SessionX instead   Gerald   -Gerald Richter    ecos electronic communication services gmb

ENV{QUERY_STRING} not included in %fdat?

2003-01-16 Thread Scott Chapman
I was surprised to find that the URL parameters passed in ?name=value after the URL are not being parsed into %fdat. Is there an embperl way of getting at this data or do I need to parse it manually? EmbPerl 2.0b8, ModPerl 1.27, Apache 1.3.27, RedHat 7.3 Thanks! Scott -

Re: Dreamweaver MX and Embperl?

2003-01-16 Thread Luiz Fernando B. Ribeiro
Hi, Download: http://www.engenhosolucoes.com.br/arquivos/DW_Embperl.zip Extract this zip file in your Dreamweaver MX Configuration folder (backup first) and it should work. This is a simple setup with just code identification and icons. I use the extension .epl to designate Embperl pages so if y

RE: session records bulding up

2003-01-16 Thread Alexandru Deva
Yes, that's just what I did. Thanks. -Original Message- From: Angus Lees [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 10:52 AM To: [EMAIL PROTECTED] Cc: Alexandru Deva; Keith Watanabe Subject: Re: session records bulding up At Tue, 14 Jan 2003 20:49:56 +0100, Gerald Richt

Re: session records bulding up

2003-01-16 Thread Angus Lees
At Tue, 14 Jan 2003 20:49:56 +0100, Gerald Richter wrote: > >One more way which is probably evil but better overall, imo, is to add a > field to the session table with the timestamp > > Adding a field should work. Mysql can use a default value on insert. If you > set the default to now() mysql sho