ASP.NET 1.1 password recovery

G

Guest

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?
 
W

Walter Wang [MSFT]

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 ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
==================================================

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top