Pre-baking the pie crust is what keeps pumpkin pie from getting soggy. It's also important to follow the recipe measurements and ingredients exactly so that the filling bakes and sets correctly.