4 Einträge, 1 Seite |
my $r = Apache->request;
Can't locate object method "request" via package "Apache"
use Apache::Cookie;
1 2
my $cookie = Apache2::Cookie->new($r, -name=>'ID', -value=>'holla', -expires=>'+3M' ); $cookie->bake();
1
2
3
4
5
6
7
8
9
Can't call method "err_headers_out" on an undefined value at Perl/site/lib//Apache2/Cookie.pm line 83.
context:
...
79: }
80:
81: sub bake {
82: my ($c, $r) = @_;
83: $r->err_headers_out->add("Set-Cookie", $c->as_string);
84: }
4 Einträge, 1 Seite |