Thread Cookies auf Existenz prüfen
(2 answers)
Opened by Gast at 2007-04-10 11:39 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 use CGI; my $cgi = CGI->new(); my $cookie = $cgi->cookie('CookieName'); if( $cookie ){ print "Cookie vorhanden\n"; } else{ print "Cookie nicht vorhanden\n"; } OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/) -- Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html Perl-Entwicklung: http://perl-services.de/ |