phranque - 1:49 am on Oct 9, 2012 (gmt 0)
not your hosting company, but rather your hostname, which will be either your domain or a subdomain.
there is no protocol specified here - your hostname is going to look like example.com or www.example.com or subdomain.example.com but no http:.
the path is not usually the directory path from the root of the filesystem, but rather the url path from the document root directory for that virtual host.
if you want a cookie to work for all directories of your www. subdomain use:
-domain => 'www.example.com',
-path => '/',
if you want a cookie to work for the store subdirectory of all your domain's hostnames use:
-domain => '.example.com',
-path => '/store/',