Re: memory usage

2003-12-19 Thread Hans de Groot
Hi, I am using 1.3.6. and apache 1.3.27 Wel it keeps getting bigger with one page. When I reload it or click through it it keeps growing. To ask a beginners question: if I make a silly script like this: -- [* open F,") { $data.=$_; } close(); $counter=0; while ($data =~ s/image.

Re: Pr server data

2003-12-19 Thread Kaare Rasmussen
Hi Gerald > You can simply put it in a varibale and it will stick. Since Embperl > normaly cleans up all package variables you can put it in a different > namespace e.g. Thanks - it works great! Is this documented? I searched the docs and with Google, but... -- Kaare Rasmussen--Lin

Re: Pr server data

2003-12-19 Thread Gerald Richter
Kaare Rasmussen wrote: > Hi Gerald > >> You can simply put it in a varibale and it will stick. Since Embperl >> normaly cleans up all package variables you can put it in a different >> namespace e.g. > > Thanks - it works great! Is this documented? I searched the docs and > with Google, but... Thi

Re: memory usage

2003-12-19 Thread Gerald Richter
Hi, > > I am using 1.3.6. and apache 1.3.27 > > Wel it keeps getting bigger with one page. When I reload it or click > through it it keeps growing. > Then there must be something inside the page, that grows. > To ask a beginners question: > > if I make a silly script like this: > -- > [* > op

RE: Cookie and Cookieless sessions

2003-12-19 Thread Stefan Cars
Hi! No since problems with tables forces me to use EmbperlBlocks. (Since I have tables starting and ending in Executes...). / Stefan -Original Message- From: Gerald Richter [mailto:[EMAIL PROTECTED] Sent: den 19 december 2003 05:52 To: Stefan Cars Cc: [EMAIL PROTECTED] Subject: Re: Coo

Re: memory usage

2003-12-19 Thread Kee Hinckley
At 1:44 PM +0100 12/19/03, Hans de Groot wrote: >if I make a silly script like this: Just so you know, that while is *real* inefficient. What you really want is something like: s/foo.jpg/++$counter . ".jpg"/ge See the below results. I did them in 1 iteration and 10 separately because t

Viewing Previous Request's Post Data

2003-12-19 Thread Bruce Kessler
If I were trying to implement a page for an ErrorDocument directive for a 500 error, and I wanted to get the post data from the users request that caused the error, how could I get this information back from Apache or Embperl? I am under the impression that using $req_rec->content() will not work,

Re: memory usage / session cleanup

2003-12-19 Thread Wim Kerkhoff
Hans de Groot wrote: Than an other question I installed embperl a while ago, with storable and apache session and made the session database. What is the properway to cleanup the session database? Right now I just delete the content of the session table but this also deletes the sessions of the cur