If you really want a long-lasting cookie, go for one on the dry side with fewer perishable ingredients (i.e. something like Oreos over shortbread). They tend to last a few days on the counter ...