how to regenerate firsttime confirmationcode at second time

Posted by Ramakrishna188 under C# on 12/31/2012 | Points: 10 | Views : 974 | Status : [Member] | Replies : 2
Hello all

My requirement is when user registration is completed i am sending mail to that user Confirmatoncode. This confirmation
code is i am generating using Generated() method. If user not getting mail at first time(when user registration is completed)
the user click "resendMail" button this time also mail is going with confirmatincode ..
but second time i want to go same firsttime confirmationcode how to regenerate same firsttime confirmationcode at the
second time. Please send me any one

Thanks




Responses

Posted by: Baimey on: 12/31/2012 [Member] Starter | Points: 25

Up
0
Down
If you are not planning to save the confirmation code u can save it in a Session.

Else you can encrypt and store it in the database.

Please let me know if this meets your need.
Thanks
Baimey

Please Mark as Answer If this Helps

Ramakrishna188, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shubham on: 12/31/2012 [Member] Starter | Points: 25

Up
0
Down
its not possible bro!!! if u r not storing the code anywhere like cookies , session, database
and u r also using generated code method its give u always new code
i suggest u plz store the code any where

Thanks&Regards:-
Shubham Choudhary
Software Engineer
www.facebook.com/shubham.kunar

Ramakrishna188, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response