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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:28:07+00:00 2026-06-10T01:28:07+00:00

I have a PHP-Script thats queries User-Status via SOAP. I want to refresh the

  • 0

I have a PHP-Script thats queries User-Status via SOAP.
I want to refresh the Page when the status for a user changes, for example when the user makes a call or hangs up.
How can I refresh the Page fast and smooth to always show the latest user status?

I read about Ajax and searched for a solution in HTML5. What is your advise?

Thanks for any helpful post 🙂

  • 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-10T01:28:08+00:00Added an answer on June 10, 2026 at 1:28 am

    My advice is to not load and interpret soap before page load.

    Make two pages.

    1 content page that displays everything you want, without the “latest status”
    When the content page is loaded, make an ajax request to the 2nd page.(jQuery example)

    $(document).ready(function(){
       $.ajax("lateststatus.php").done(function(data){
          // Change the name of the element to the element where you want to display the data
          document.getElementById("mycontentdiv").innerHTML = data;
          });
    });
    

    Then in the 2nd php file(lateststatus.php) load the soap file, interpret and generate only the html code you want to display in the content div.

    That’s it in a nutshell.

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

Sidebar

Related Questions

I have a php script that makes some MySQL queries that just writes some
I have a PHP script that uses CURL to fetch a remote page and
I have a php script acting as a random image generator. The script queries
I have a PHP search script that queries a MySQL database and then parses
I have a PHP script that runs database queries. Now, if a query fails,
I have a Google Instant style jQuery search script that queries a PHP file
I have a Google Instant style jQuery search script that queries a PHP file
I have a script which generates queries in the following fashion (based on user
I have php script that creates a temporary watermark image for users that are
I have a php script that inserts data from an Android app into a

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.