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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:31:00+00:00 2026-05-13T16:31:00+00:00

Is there any way to maintain stream from php to the jabber server without

  • 0

Is there any way to maintain stream from php to the jabber server without javascript to keep the client side live?

Some low end mobile do not support javascript, so to maintain permanent connection to server is key question? any hacks?

  • 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-13T16:31:00+00:00Added an answer on May 13, 2026 at 4:31 pm

    PHP is a server-side technology, so there’s no problem there to maintain a connection from the server-side to the XMPP server.

    However, if you cannot use Javascript on the client side, your only option is to periodically refresh the web page, where any events queued on the server side will then be given to the client via the newly-generated HTML.

    Possibly you could implement a type of Comet- or BOSH-style long-polling by having a meta-refresh of 0, where the web server returns all the current chat info, but doesn’t quite complete the response until a certain time period has passed.

    Whether that’s feasible or not probably depends on which clients you wish to support — it’s possible that some mobile browsers don’t do partial rendering as the content comes in, they wait for the entire request to complete.

    Also, if the connection was to be interrupted at any point, you’re stuck, as the browser wouldn’t know to do a meta refresh. Possibly there’s some sort of frames-based solution to that where one frame reloads into another?

    Have fun! 😉

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

Sidebar

Related Questions

Update from 2017: Realistically, the answer is no, and even if there were you
I'm writing an application in C# where I want to maintain a large number
I am writing a coordinate conversion library for javascript (for both NodeJS and browser
We maintain a library used by test scripts which do system level testing. Part
I use the following structure in my emacs config: For each programming mode I
When making views in django, is it allowable to pass in POST data as
I have a list of objects in python that I would regularly check and
I have been looking for this pattern for some time but still did not
I am calling a giant stored proc via linq to sql that brings back
Let's assume we have the following generic scenario: An RDBMS as a data source,

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.