Gerald Richter wrote:
Which will not work for long query strings (had a lot of fun debugging this one...)I have a beginner's question.the
I'm trying to redirect the program flow to another .htm page using
$http_headers_out{Location} but I also want to pass a message ($msg) to
new page using POST method.You can't do a POST request as an redirect, but you can do a GET to pass the
data
[-
$r = shift ;
$http_headers_out{Location}="acc_admin.htm?msg=" . $r -> Escape ($msg, 2) ;
Save the data somewhere and send only data id - or even better, use Apache/Embperl sessions.
- Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]