NCAA Rules, 2003/04
Section 28, Article 3
(c) During a dribble from back court to front court, the ball shall be in the front court when both feet of the dribbler and the ball touch the playing court entirely in the front court.
(Keeping in mind that NFHS rule is, I believe, almost identical)
Dribbling the ball while straddling the midcourt line is different than holding the ball while straddling the midcourt line. In the latter, once you lift your back court foot, you have front court status. NOT SO when you are dribbling.