Adding -domain => ".yourdomain.com" is useful, otherwise the cookie will only work on the exact domain in which it was set. So if the person had the cookie set at http://yourdomain.com, it wouldn't work at http://www.yourdomain.com which may be a problem.
Adding the path is only useful if you want other programs to be able to access the cookie that are in a different directory.
Cheers,
Alex
Adding the path is only useful if you want other programs to be able to access the cookie that are in a different directory.
Cheers,
Alex