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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:40:08+00:00 2026-05-27T07:40:08+00:00

after the page being open for some time this ajax request gets a lot

  • 0

after the page being open for some time this ajax request gets a lot slower or doesn’t work

 $.ajax({  
  type: "POST",  
  url: "atuamae.org/send.php",  
  data: dataString,  
  success: function() {  
  showmessages()
  //podia-se meter o texto desaparecer suavemente por baixo..
  }  
 });  

there is also this other function runing:

  function showmessages(){
  $("#messages").load('atuamae.org/show-messages-encomendar.php');
   setTimeout('showmessages()',15000);
  }

are they interfering with each other?
is data being accumulated somehow?

p.s. for some reason this affects are more significant in chrome than in Firefox

  • 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-27T07:40:08+00:00Added an answer on May 27, 2026 at 7:40 am

    Each time you call showmessages() yourself or make that ajax call which calls it, it starts a new loop of calling showmessages() every 15 seconds.

    So, if you call that ajax call 10 times, you will end up with 10 timers calling showmessages() every 15 seconds. If you call the ajax call 30 times, you will end up with 30 timers calling showmessages() every 15 seconds which means it will be being called every 1/2 second. Yes, things would slow down a lot.

    Do you really means for showmessages() to call itself indefinitely every 15 seconds?

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

Sidebar

Related Questions

instead of a whole page refresh after a certain time, i'd just like a
Essentially, all I want to do is open an external web page after the
My JavaScript knowledge is shallow, so I can't figure this out after some significant
Is it possible to get the mouse position with JavaScript after page loads without
I would like to make one of the div's hidden while rendring. After page
I am trying to autoreload my page after every 20 seconds. I am using
I want to send an Email message after a page is returned to the
Hi I have a web page that opens up from another page after the
What we need: redirect to each user's specific page after their login. What we
How do I redirect users to my plugin settings page after they activate my

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.