Left-over pesto ought to really be covered and kept in the refrigerator, it is going to stay fresh for a week. I wouldn't suggest keeping the sandwich for over just a few of hours. When you might have sandwich leftovers, then it's ideal to repaint with a toaster oven or panini-maker.