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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:55:41+00:00 2026-06-09T14:55:41+00:00

ok I do use an Apache Server and I have the following situations. I

  • 0

ok I do use an Apache Server and I have the following situations.

  1. I have a JScript that sends a XHR request to a long polling PHP file
  2. Now the request is long polled for 15 secs
  3. Now while the long poll is in progress I try to send another XHR request
  4. But the another XHR request timeouts and seems not to reach my Apache server

now my question is, why this happens? is this because Apache server uses only a single thread connection for a single client? or because of long polling the connection became persistent other XHR request can’t be granted?

my server is a XAMPP 1.8.0 with Apache 2.4.2

  • 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-09T14:55:43+00:00Added an answer on June 9, 2026 at 2:55 pm

    found already the answer here.

    I need to use the function below

    session_write_close();
    

    Long polling locking up other AJAX calls

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

Sidebar

Related Questions

I'm trying to use a .htaccess file on the Apache Server running on my
I have an SVN repository that is configured to use Basic authentication through Apache
I have a project that needs to access a DLL with PHP. The server
I'm having trouble getting Apache/WSGI to use my VirtualEnv. I have added the following
I'm working on a project that have the following need: use source ip address
We have the following situation: There is an application that works on Apache and
I have a PHP file which has the following text: <div class=small_italic>This is what
I have apache as http server and php, i sent about 5 simultaneous requests
My server guy wants to use apache, and also he wants to program a
any recommendation whether to use 64bit instance vs 32bit instance for Apache Web Server

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.