Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 563033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:37:02+00:00 2026-05-13T12:37:02+00:00

I configured ASP.NET membership and created some users as well as a protected folder.

  • 0

I configured ASP.NET membership and created some users as well as a protected folder.
now, what’s weird is that after being successfully authenticated, instead of going to the protected page, the login page is loaded again.!

for example, I have a role “HR” and a user “hr1” who is a member of “HR”. I have a protected folder “HR” which is supposed to be accessible only to “HR” group.

now, when trying to access the protected folder, I’m redirected to the login page which is a good thing. but after, I give the right login and password, I’m not redirected to the page I tried accessing in the first place.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:37:02+00:00Added an answer on May 13, 2026 at 12:37 pm

    I had this the other day – have you correctly edited the web.config settings, rather than cut and pasted? 🙂

    The important part in the following is the ‘Path=”/”‘ attribute – the examples have it set to “/admin” and by default will cause the redirect to login page issue if /admin doesn’t exist.

    <authentication mode="Forms">
      <forms loginUrl="Login.aspx" protection="All" timeout="30" name="AppNameCookie" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="default.aspx" cookieless="UseCookies" enableCrossAppRedirects="false"/>
    </authentication>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In have my application configured in asp.net. I am using ajaxcontroltoolkit. After building the
We configured IIS 5 by mappping * to asp.net handler so that ASP.NET MVC
I have an ASP.NET MVC Partial View that contains a Html.TextBox that is configured
I'm trying to debug an ASP.NET webapp that's configured to Use Local IIS Web
I have an ASP.NET web application that is using forms authentication. Everything is configured
I have a Windows-Forms Application that I configured to use with an ASP.NET Service
I have an ASP.NET MVC 3 project that I just created using the project
I have an ASP.NET web project and a membership provider configured via my web.config.
I'm using the ASP.NET membership provider for authentication of users in my web app.
I have a main login for my client facing website configured with ASP.NET membership.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.