Both Monistat and Gynolotrim are temporary treatments for the symptoms of a yeast infection; this is because the real problem lies inside the body, therefore it should be treated from the inside. This is why yeast infections normally continue to occur regardless of the medication used.
The 'real' cure is going to happen only when you address actual the cause of yeast infections. This would include staying on a carbohydrate and sugar free diet, taking various antifungals, and rebuilding the flora in the intestines.