Cookies from both www and not on multisite

So, on a multisite network I'm running, I'm getting logged out all the time as superadmin. I've looked into this, and on non-multisite this can happen because you have one domain set as www and the other not - so the cookies get confused. I checked, and my site is writing 15 cookies not with www and 3 with www - including a session for both www and not.

I looked, and I can't find any reference to www. do you know where the settings would be in the database to make sure all cookies don't have www.

Or, am I looking in the wrong place? Is there another reason my superadmin would time out every couple of minutes?