After pressing forgot password ,I redirect to page having textbox for email id.When I enter mail id and click on send button I want to send the saved password from database to that mail id. How can I achieve that?
My database contains userid(not auto incremented and specific to user),mailId,password fields.My login page contains UserId nd Password and link of forgot password.
I am implementing "Forgot Password" functionality in asp.net mvc 2.0 site.Scenario is ,If i click Forgot Password button it will go to some page and it asks the user to enter his email id.Once he entered his email-id ,then his password is retrieved from the database and send to his email id . How to send password to user email.
URL...how we can sending formatted email now in my Login.aspx page i have Textbox that when users forget their password they should type their Username on the textbox and after that click on send button.I want when users click on send button their user name that they type in textbox be on the email that send to me .
ser enters email addressafter submit, an email is sent to the user The email will include a link that will take the user to a reset password page.Now, how do I fetch user's ID based on the email address and encrypt it? Then what should link be? Like, what I want is fetch the User ID then encrypt it somehow so that the link doesn't contain the actual ID and that link will take the user to a page that will have textboxes to reset the password. I am just confused how to go about it.Also is this the secure way? To reset a password like this?
Could anyone provide guidance about the common technique of sending an email to the new user -> new user clicks the link in the email -> and then the account becomes activated and ready for use?
Currently using the CreateUserWizard control in .NET v4 and a Membership db in SQL Server 2008. If I need to do this via custom code and not the CreateUserWizard that's fine. Would be nice to see expert thoughts on this common, enterprise quality, new account validation technique.
The link below outlines a technique for sending a confirmation email but does not include activation:[URL]
I'm using a ASP.NET Web Form to capture information from a user and then email the results to me. This is working well.
The problem is, that the SMTP Relay Server I am using from my ISP seems to be a bit slow so once I hit SEND on the form, it seems to take a little longer than average before sending the user through to the "Thank-You" page.
To counter-act the long wait time, I would like to add a little bit of code that will display on the Web Form once the user clicks the send button, but before the data is actually sent or they are forwarded on to the thank-you page.
Right now in my file.aspx.vb I have:
Try smtpClient.Send(mailMessage) Response.Redirect("thankyou.aspx") Catch smtpExc As System.Net.Mail.SmtpException 'Log error information on which email failed. Catch ex As Exception 'Log general errors End Try
What I'm wondering is if it is possible to have a HIDDEN control of some type on the form and then change Visible=False to Visible=True to have the text display once the user clicks the Send button? Or should this be done another way?
I have a form free user feilds, some drop down which are populated by a database data and a button. I want to create a new line in a table when the user clicks on the button. the values for this new line will come from the Values (not visible content) of the drop box, the content of the text feild, the user ID that I should get from the connection and the current date... ie, I want do do a INSERT INTO table (userid, dropdown, text, date) values (how do I get the user ID from the session?, how do I get the value from the drop down?, how do I get the text from the text box?, how do I get the current date?)
I have modal popup extender with two buttons called continue and cancel within it.I get this popup warning when session is going to expire.When I click cancel button it should logout me and when I click continue button it should extend my session for next 20 minutes. Both button gets trigered when I click them.Problem is that when I click continue button it should extend session for another 20 minutes and alert should disapper.That doesn't work.
I want to reload the page when the user clicks on the back button, from a particular page.Say for example there are three pages:
I want when user move from Page2 to Page3. When he clicks on "Back" button on browser page shld load I have tried adding a onload function JS in Page2 it works out. The issue is identifying user is coming from Page3.
I display a bunch of data using a ListView. In the ListView, I insert a CheckBox control that allows the user to select the items he likes. User then clicks a button i.e. button control.I now need to get the data for selected items underlying data. I could use some help with this. Here's what I have so far:
I am trying to trigger a update planel when a user clicks on an button on a GridView. Once the button is pressed the id of the record gathered and then more information will be gathered and sent to lbl.Text in updatePanel1.
when I was trying to set this ModalPopUpExtender i was using a btn1 as the targetCOntrolID. btn1 is no longer used and i want to remove it from the page, but dont know what to do about the TargetControlID.
ASP Code [Code]....
VB Code Behind [Code]....
There is a gridview on the page and when the user clicks the link button it calls the popup..
[Code].... How can I remove btn1 and the ModalPopUpExtender still work ?