I need to force a cookie onto users who log into a site. I want the cookie to be stored in their user info in my DB. I have a field in my mysql db for this titled "cookid". I can't figure out what the code for this would be. I want the cookie to use the rand() attribute. Can anyone help me out? thx,