Answer:
hi,
A while ago i made cookie dough, and kept it in the fridge for a while and didnt get ill. However if your dough has eggs in it i would use it up within 3 days in the fridge. But if it dosen't have eggs you could try a week. But please please put it in something seal-able, preferably air tight. But remember i am not an expert, if it looks different from when you put it in i suggest you don't bake it. Hope they taste nice