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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:57:15+00:00 2026-06-10T08:57:15+00:00

In my project ASP.NET I am submitting a data using JQuery. I need some

  • 0

In my project ASP.NET I am submitting a data using JQuery.
I need some solution for logout page that still displaying on the user’s browser.

If user will click on the page it will post the request the server.
Although the request may not be proceed on server but I get “success” code on complete event also the status code shown me 200.

Is there any way to prevent submitting AJAX request when user has logged out…?

  • 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-10T08:57:16+00:00Added an answer on June 10, 2026 at 8:57 am

    No, you will not be able to stop the request.

    You can control your response to it though.

    Return some error code that will tell your script that the user is logged out, and then your javascript can direct the user to a login screen.

    If the user is logged out, the 200 response that you are getting is probably the login page. You can check the contents of the response in such cases and detect a logout.

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

Sidebar

Related Questions

I have an external compiled project(asp.net) that we are using in our code. I
I need to implement in my project ASP .NET MVC3 the jQuery file upload
Hy, In my project asp.net (c#), I am using threading to process some messages.
I am doing Project by asp.net. Some states of changing themes of page (setting
I am working on ASP.NET 3.5 website project and using jQuery to warn users
I have a project with ASP.NET MVC, using Entity Framework to get data from
I have project asp.net with namespace test and I'm using resources (files Resource.resx and
I have a multi-project ASP.NET + C# solution. I was planning on writing a
I am working on a project ASP.net 4, MVC4(RC) using visual studio 11. I
For some project templates (ASP.NET MVC, WPF MVVM app...), Visual Studio 2008 prompts the

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.