It works! Thanks so much!
Fred
Eric Cholet wrote:
Hello,
It seems the method unparse() of Apache::URI does not take the port
value into the result string. For example, I have:
my $uri = Apache::URI-parse($r, $r-uri);
$uri-scheme('http');
$uri-hostname($r-get_server_name);
Hello,
It seems the method unparse() of Apache::URI does not take the port
value into the result string. For example, I have:
my $uri = Apache::URI-parse($r, $r-uri);
$uri-scheme('http');
$uri-hostname($r-get_server_name);
$uri-port(8080);
$uri-query(scalar $r-args);
If I call
I have noticed that although it is required to pass $r to
Apache::Cookie-new() as the first argument, it appears that no type
checking is performed. In other words, if I pass anything else as the
first arg, no error is reported. However the subsequent call to
$cookie-as_string will result in an
Hi,
I'm having a problem with setting the cookie in a REDIRECT. Basically,
I'm doing this in a handler:
$r-headers_out-add('Set-Cookie' = $cookie);
$r-headers_out-add('Location' = $location);
return REDIRECT;
The $location is hit but the cookie is missing when I debug the handler
Xia
Ken Williams wrote:
[EMAIL PROTECTED] (Zeqing Xia) wrote:
Hi,
I'm having a problem with setting the cookie in a REDIRECT. Basically,
I'm doing this in a handler:
$r-headers_out-add('Set-Cookie' = $cookie);
$r-headers_out-add('Location' = $location);
return REDIRECT