6 Einträge, 1 Seite |
if ($cgi->cookie($cookiename)) {print "Cookie vorhanden";}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
sub setCookie
{
my $cookiename = shift;
my $value = shift;
my $expires = shift;
my $domain = shift;
my $path = shift;
my $cookie = cookie(-name => $cookiename,
-value => $value,
-expires => $expires,
-domain => $domain,
-path => $path);
print header(-cookie => $cookie);
}
6 Einträge, 1 Seite |