- or download this
if (($user)&&($passcheck)) {
my $cookie = cookie(-domain=>"$meta_configs{xina_domain}",
...
-expires=>"$meta_configs{login_cookie_expir
+ation}");
print header(-cookie=>[$cookie]); # cookie set
- or download this
$login_id = cookie("$meta_configs{login_cookie_name}");
- or download this
my $cookie = cookie(-domain=>"$meta_configs{xina_domain}",
-name=>"$meta_configs{login_cookie_name}",
...
-path=>"$meta_configs{login_cookie_path}",
-expires=>"0");
print header(-cookie=>[$cookie]);