You get to set the domain when setting cookies so its not a huge issue either way.
Re:Ask HN: www.site.com or site.com?
by underdesign on Thursday September 23, 2010 @01:28PM
(#1720447)
Usually, but some browsers won't accept forged cookies. It'll only accept cookies from the domain it requested from.
"Basically you should always use www if you're planning to use any other sub-domains and you want them cookie-free."