reset password
Author Message
abajpai
Posts: 52
Posted 23:01 May 26, 2011 |

is it a requirement to have error checking for situations like a user trying register with a email or username tht is already in use? by error checking i mean, do we need to notify the user of their error with a message or something or it it ok to simply just not let anything happen in that case?

dely
Posts: 32
Posted 00:05 May 27, 2011 |

you have to error check else you will get an error since your database should've been set up so that there is no duplicate emails

abajpai
Posts: 52
Posted 00:10 May 27, 2011 |

yeah i know. i get a 500. but anyways, i put up simple alerts for those cases, just to be safe, since no one replied before the deadline. thanks anyways.