i am in a situation where i want the db to delete a row when the user exits the application. even in the middle of the application. how can it be done?
to be more specific, consider a survey of 10 questions. i am storing the user's selections in a DB. now suppose the user exits at the 5th question. i want to delete the user's records then and there. so that if the user wishes to start again. s/he can start afresh.