I have the authentication which will redirect the unregister user to Login.aspx. At the bottom of the page,there are a link button will redirect the user to forgotPassword.aspx
With having the authentication, i discover it don’t allow the unregister user to go forgotPassword.aspx but staying in the same page.
so some expert have shown me this code..
can anyone provide me the code in web.config here?
some expert have provided me the code..but i find no where to locate this code in web.config, none of them tell me where to locate it..click this link ..im abit confused.. please provide me whole web.config code so i can have overall idea 🙁 thankss
You need to put it between the main configuration elements:
Just don’t forget to accept an answer from your original question.
UPDATE
It is important to note that the above assumes that the
passwordrecovery.aspxfile is located in the same location as theweb.configfile that contains that above configuration. If thepasswordrecovery.aspxfile is located somewhere else, you will need to change thepathattribute.So, assuming the
web.configis in the root of your site, and thepasswordrecovery.aspxfile is in the folder/Presentation/Displaythen you will need to update the code as follows:Another alternative is to keep the original configuration provided, but create it in a new
web.configfile that is located in the same folder as thepasswordreovery.aspxfile.