Add a cookbook entry on how to prevent unnecessary session writes