We do similar to what Patriot’s says, but at room temp.
We buy basil in 1 pound bags, my wife clips the ends and arranges the sprigs in a couple of vases. We usually get between 1 - 2 weeks, depending on how well the basil was treated before we got it.