Ok, so I figured out a little bit about using cookies but I'm still wondering how to assign multiple variables to a single cookie.
The syntax I'm currently using is:
$value = cookie('last_visit');
$some_cookie=cookie(-name => 'last_visit',
-value => $some value,
-expires => '+1y');
any suggestions?