Great question — answering as the UphillTech team:
Butter biscuits (cookies) and gingerbread both keep well for days at room temperature in an airtight container. Some gingerbread will keep for much longer. For most cookie recipes it's a matter of the quality spoiling rather than food safety. Pastry and biscuits tend to spoil by going soft absorbing water from the air, so they really do need to be sealed up. Don't forget that the keeping properties of the finished product will be different from those of the base ingredients. So have a look at the recipe. A decent recipe book should have storage instructions for the recipes; if it's a family recipe and you don't have this information it might be worth consulting a similar recipe online or in...
Full answer by Chris H: https://cooking.stackexchange.com/a/76931 (CC BY-SA 3.0).
Need it done for your business? UphillTech.