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

I have an ASP.NET web project and a membership provider configured via my web.config.
I have a main login for my client facing website configured with ASP.NET membership.
I'm trying to configure a dedicated server that runs ASP.NET to send mail through
I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an
I'd like to use the ASP.NET membership provider in the following (low-security) scenario... My
We're using ASP.Net membership providers (the SQL Server provider), and I want to be
How do i configure connection string for Asp.Net Membership Provider? Do i have to
We have a non-SSL ASP.NET web app that allows a user to login (ASP
I am having some trouble when I use ASP .Net 4's URL Routing feature
I've been playing around with using MySql as the membership provider for asp.net mvc

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.