Ok when i didnt apply above stuff to my page but then i used SERVER REDIRECT when Upload FAIL. So by that the user gets redirected to other page.. But the RECORD gets inserted in DB.. i have attached the file please look into it..
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.