473,473 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP.NET 1.1 password recovery

I have a web site that I use forms authentication on. I am trying to
implement a password recovery tool, but am unable to get beyond the login
screen to get to my PasswordRecovery page.

My forms authentication is set up in the web config file as follows:

<authentication mode="Forms">

<forms name=".App1"
loginUrl="modules/login/login.aspx"
protection="All"
timeout="30"
path="/"
/>

</authentication>

I have placed a link button on the login page for "Forgot Password" which
will transfer to RecoverPassword.aspx. The page will transfer and will show
my RecoverPassword.aspx page, but when I try to execute anything on the page
(a button to lookup something in the database) my page reverts to my login
page. What am I missing? Is there a place I can set my permissions to allow
the RecoverPassword.aspx page to execute prior to authenticating?
Sep 27 '06 #1
1 1652
Hi Jeff,

You can allow the RecoverPassword.aspx to execute prior authenticating by
this:

<configuration>
<location path="~/RecoverPassword.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

If you still have problems make it working, please post your full
web.config and some of your login code.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: com | last post by:
MS Access 2000 Password Recoverer 4.2 Screenshot - Soft30.com MS Access 2000 Password Recoverer will display the password to a MS Access database (*.mdb). This program works for MS Access files...
1
by: Rick Gamble | last post by:
When the password recovery control sends forgotten passwords via email I get the message noted below. Is there a way to decrypt this to make it usable to the user who requested it? Please...
4
by: clintonG | last post by:
When the password is hashed and most secure this control mails a new password to anybody that provides an authenticated user name. The previous password can no longer be used to login. The newly...
1
by: jobs | last post by:
I'm using asp.net Membership security. Using the Password recovery control, users can reset/recover their passwords. Great. I've grid with all the users. I'd like to add a button so the admin of...
1
by: Me LK | last post by:
Unfortunately I am working on a site that started awhile ago in 1.1 and is just now being finished. This means I don't have all the features of 2.0 like the password controls. I am looking for some...
2
by: whitey | last post by:
Hi All, The following script works when username(or email) and password are in 1 table. what i need to know is how to adjust the code to reflect that the email will be held in tbl_email and the...
1
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi : I have the following code that I used it in password recovery: Dim mail As New MailMessage() mail.From = New MailAddress("husam_108@yahoo.com") mail.To.Add("husamalahmadi@hotmail.com")...
1
by: gopi2ks | last post by:
Dear All I am using password recovery control,In this its automatically sending password to mail after configuring smtp,Now I need to restrict the password sending to email and i need to send...
5
by: Jeff | last post by:
hi asp.net 2.0 #1 How do I in the OnSendingMail method get the user email address so I knows where to send the email? #2 What is the code I need to use in the bodyfile for specifying...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.