Re: [mp2] how to add data to posted form?

2007-10-06 Thread newgaton new
2007/10/7, Perrin Harkins <[EMAIL PROTECTED]>: > > On 10/6/07, newgaton new <[EMAIL PROTECTED]> wrote: > > i have a question. i am coding a program. i must change / add some > > data to posted form from browser . > > What are you trying to do? Using the parsed request data as a place > to st

Re: [mp2] how to add data to posted form?

2007-10-06 Thread Perrin Harkins
On 10/6/07, newgaton new <[EMAIL PROTECTED]> wrote: > i have a question. i am coding a program. i must change / add some > data to posted form from browser . What are you trying to do? Using the parsed request data as a place to store your own global data is a bad idea. If you just want to

Re: redirect

2007-10-06 Thread Perrin Harkins
On 10/6/07, Eli Shemer <[EMAIL PROTECTED]> wrote: > $r->headers_out->set("Refresh"=>"0;url=index.pl"); > > $r->headers_out; > return Apache2::Const::OK; > > this method seems to be the best solution for me since > 1. it works > 2. I rather send an OK signal since it's not an actual warning/error bu

RE: redirect

2007-10-06 Thread Eli Shemer
$r->headers_out->set("Refresh"=>"0;url=index.pl"); $r->headers_out; return Apache2::Const::OK; this method seems to be the best solution for me since 1. it works 2. I rather send an OK signal since it's not an actual warning/error but a valid redirect as part of the system.

Re: redirect

2007-10-06 Thread Issac Goldstand
Sounds like you're doing something not-quite-right... A 302 status code in conjunction with a Location header should immediately redirect to the URL in the Location header. If you'd rather, you can try sending a normal 200 (OK) response with an empty HTML page, and a Refresh header (something lik

RE: redirect

2007-10-06 Thread Eli Shemer
I have previously have done this but instead of actually automatically referring me, it displayed an error with a link that "the paged has moved" or something of that sort. -Original Message- From: Issac Goldstand [mailto:[EMAIL PROTECTED] Sent: Saturday, October 06, 2007 6:15 PM To: Eli

Re: redirect

2007-10-06 Thread Issac Goldstand
Send a Location: header back instead of a full response and return HTTP_MOVED_TEMPORARILY from your handler. If you want/need to return a response from the page, you can alternatively use an HTML META tag in the header to accomplish the same effect. Issac Eli Shemer wrote: > Hey there, > > I

Re: Apache2::SizeLimit & Linux::Smaps on x86_64

2007-10-06 Thread Perrin Harkins
On 10/6/07, Max Kanat-Alexander <[EMAIL PROTECTED]> wrote: > Yes, they really are using that much but nearly all of it is > shared via copy-on-write, as far as I can tell. SizeLimit is supposed > to be able to detect that situation on modern kernels if you have > Linux::Smaps installed, acc

redirect

2007-10-06 Thread Eli Shemer
Hey there, I constructed a logout button which simply refers you to a page that takes away your cookie and then redirects you the main page. Internal_redirect however does not seem to be the best use in this case since, apparently, the address bar is not updated accordingly and even the cookie is

how to add data to posted form?

2007-10-06 Thread newgaton new
Hi, i have a question. i am coding a program. i must change / add some data to posted form from browser . I can use Apache::Request::Param for the job In mod_perl 1.3, but I did not find any interface to fix the problem. I hope some one can help me !!!

[mp2] how to add data to posted form?

2007-10-06 Thread newgaton new
Hi, i have a question. i am coding a program. i must change / add some data to posted form from browser . I can use Apache::Request::Param for the job In mod_perl 1.3, but I did not find any interface to fix the problem. I hope some one can help me !!!