No, that's Wall of Iron you're thinking of. Wall of Force lasts 1 round per level.
edit:
Also, it's perhaps pertinent to note that in AD&D the situation was the opposite. In fact, walking through a Wall of Force is literally an example from the 2e PHB. Perhaps your DM is old school and...