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

  • Home
  • SEARCH
  • 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 8155517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:41:32+00:00 2026-06-06T16:41:32+00:00

On a MVC3 project I’m working on whenever I do a redirect to action

  • 0

On a MVC3 project I’m working on whenever I do a redirect to action on the controller the URL that is shown in the browser is the original request. Not the redirected one. Has anyone seen this or know of a workaround for it?

So for example. I can click a link with a href that equals…

http://www.test.com/account/LogOut

Which on the controller will redirect to the homepage, but once I’m logged out and the homepage is shown…the url still shows http://www.test.com/account/LogOut

This is causing some quirky behavior with a couple of other things that I’ve got going on.

  • 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-06-06T16:41:33+00:00Added an answer on June 6, 2026 at 4:41 pm

    You should use the attribute ‘data-ajax=”false”‘ in your logout link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In an MVC3 project that I'm working on we're trying to move a lot
I have an MVC3 project I'm working on that has a View with an
I've inherited an MVC3 project that has a large number of ASPX views that
Working on an MVC3 project. I have an area named Area with an areaRegistration
I have an ASP.NET MVC3 project that uses a tab strip on certain pages.
Short version: How can I get the URL of the server my MVC3 project
I noticed that when I installed StructureMap from NuGet into my ASP.NET MVC3 project,
I am starting to learn jQuery. Looking though the MVC3 project that makes use
I have some C# code in my ASP.NET MVC3 project that's throwing an exception
I have a MVC3 project that uses the Entity Framework and Ninject v2.2, and

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.