Access to %udat in epocgi.pl

2003-07-14 Thread Harald Becker
access the %udat to get the _session_id in epocgi.pl? Which module exports the %udat hash ? Or can I get the udat hash ref in Execute like the output string ? One hint that I found in the mail-archive does not work: %Embperl::Object::component -> param -> udat; Thanks for any suggestion, Harald

RE: Access to %udat in epocgi.pl

2003-07-16 Thread Harald Becker
> The problem is that when you come back from > Embperl::Object::Execute %udat is already gone (saved to > session store). The only idea I have at the moment, in case > you need read only access, is to put the content you need in > some global inside your base template: > > $Session::myvar =

Fill out formular fields with embperl

2003-07-17 Thread Harald Becker
Is it possible, that Embperl automatically fills out the html formular fields and takes the values from %fdat or %idat ? The following example does not to work either with %idat or %fdat I don't want to set the form values with value="[+ $fdat{info} +]" test.htm: [- $fdat{info} = "rewritten"; -]

RE: Fill out formular fields with embperl

2003-07-17 Thread Harald Becker
> I think it will do what you want if you remove the > value="..." token from the input: > > > > If you need a default value, set it by placing a value in > fdat above the > input: > > [- $fdat{info} = 'testing'; -] Thank you, this works, but I've got a new problem :) I need to declare the f

Gzip Embperl::Object output

2003-07-17 Thread Harald Becker
I've developed a small package that compress the output stream of Embperl::Object as a replacement of epocgi.pl. You can use it like epocgi.pl. Maybe its usefull :) It could be found under: http://www.webscope.de/embperl/Embperl_Addon_GZip.zip Also I've written a wordfile for ultraedits syntax hi

RE: Gzip Embperl::Object output

2003-07-18 Thread Harald Becker
Embperl::GZip V0.03 is out :) Now it supports chunk compression and much more settings... The advantage of chunk compression is, that the webpage is splitted in chunks. Every chunk will be compressed and sent to the browser. The browser can begin displaying the webpage if he received the first ch

RE: special character replacements in output

2003-08-14 Thread Harald Becker
[+ do{ local $escmode=0; $detail_html} +] should work... You can also skip escaping html characters if optRawInput was set (e.g. $ENV{EMBPERL_OPTIONS} = 16) Harald > -Original Message- > From: girardot [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 14, 2003 7:06 PM > To: [EMAIL PRO

RE: Problem with RE

2003-08-14 Thread Harald Becker
[- $tmp =~ /(.*)/ -] Or [- $tmp =~ /(\*)/ -] Or [- $tmp =~ /\(*\)/ -] Depending on what you want to do :) Harald > -Original Message- > From: Radovan PetrĂ­k [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 9:34 AM > To: Embperl > Subject: Problem with RE > > > Hi ,

RE: sharing data across SSI's (Executes)

2003-09-03 Thread Harald Becker
Storing complex data structures in %udat could behave different than expected. %udat only recognize changes in keys and values. If value is a reference to hash or array it will not update the session data! So you must add a dummy "changed" key and switch value from 0 to 1 or 1 to 0 if you want to u

Embperl 2.2 - memory wrap on Windows XP

2006-06-21 Thread Harald Becker
Error message: "panic: memory wrap at C:/Perl5.8/site/lib/Embperl.pm line 108" The error appears immediately. FAILED: Configuration: Windows XP Embperl: 2.2 (as CGI script) Perl: ActiveState v5.8.8 Binary build 817 Apache: 1.3.27 Same page request runs without no problems with this configuratio

Re: Embperl 2.2 - memory wrap on Windows XP

2006-06-27 Thread Harald Becker
Some additional informations: The error appears only if cookies are enabled. Without cookies there are no problems! Here are the cookie information from the environment:: "HTTP_COOKIE" => F=PERCENT_SAVED&1&D_TIME&6-18%20%2F%2018-21%20%2F%2021-6&ZNAME&ZNAME&time&%2B&CBC_AT&1&z