Here is my situation. I have to check for duplicate email-ids when people are registering from a particular page, I have to notify the user if the email-id is already registered. I want the users the to be notified with a message and should not be losing all the data that is entered. I did this before by storing all this information in variables and retrieving them after submitting the data and checking with the database, but this particular page has enormous amount of data, it is just not practical to do that!
Is there a solution for this wherein I can check with the database if there is a duplicate email-id which exists , notify the user and still the information that was entered would not be lost!