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 543347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:32:31+00:00 2026-05-13T10:32:31+00:00

I am using the .Net memebership system, and uptil now I haven’t had any

  • 0

I am using the .Net memebership system, and uptil now I haven’t had any real troubles with it.
I now have a overlay where a user can create a profile. When the profile is created I just want to redirect to the same page, and not to the default page or the return url – which doesn’t exists.

I have tried to stop the FormsAuthentication.RedirectFromLoginPage response, but with no effect:

 FormsAuthentication.RedirectFromLoginPage(username, false);
 // End the redirect so it doesnt redirect to default url (front-page)
 Response.End();
 Response.Redirect(Request.RawUrl);

Does anyone have an idea to how this can be solved?

  • 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-13T10:32:31+00:00Added an answer on May 13, 2026 at 10:32 am

    Use this instead:

    FormsAuthentication.SetAuthCookie(username, false);
    Response.Redirect(Request.RawUrl);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using default asp.net mvc 4 membership system. User sends his username and password
I have been using the ASP.net membership system, with code such as: <asp:Login id=Login1
I have a GirdView listening all Users active in my system using ASP:NET Membership.
So in MVC when using the .NET Membership system, password policies are defined in
I have this membership site setup on my local machine using the ASP.NET membership
I have a Web Role that is using the ASP.NET SQL Membership provider. Currently
I have been reading up on porting ASP.NET Membership Provider into .NET 3.5 using
We are creating a new site using ASP.NET membership provider for user registration and
I've been learning ASP.net, and been using the membership system. When it auto generated
I cannot log in using any of the membership accounts using .net 4.0 version

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.