I boil it in the flask on an electric stove. If its a good flask, it should be no problem.
If its boiled in the flask, I am SURE its sanitized.
Before that, I sanitized a one gallon jug. I boiled the wort, cooled it some and poured it into the jug. Both work, but boiling it in the flask gives me that warm fuzzy feeling.