how to clean the no use data after confirmation?
-
Hello everyone: I have a problem that have confused me several days,here is the senario: Some times user may accidently close a page via which some operation may have been submitted to the database,in that case we can use a confirmation msgbox to avoid that. However,if the user really want to close that window ,all the data that have been submit to the database will be no use at all.of course,we can use a sever side code to solve this problem. what i dont know is when the user clicks "yes" (which means he really want to close the page)in the client side ,how can we triggle a server side code to clean all the data that has just been submit to the database?and after that how can we close the page? is there any one who can give me some suggestion? Thank you in advance!