Jump to content

Recommended Posts

http://www.w3schools.com/Ajax/Default.Asp

 

I suggest having a version number that updates each time you change the content, use AJAX to check the version number every few seconds, if it doesn't match it's version number, display the alert

Link to comment
https://forums.phpfreaks.com/topic/181275-how-is-this-possible/#findComment-956305
Share on other sites

http://www.w3schools.com/Ajax/Default.Asp

 

I suggest having a version number that updates each time you change the content, use AJAX to check the version number every few seconds, if it doesn't match it's version number, display the alert

 

Okay ive never used AJAX before even though i have always wanted to. Could you explain or give some example using ajax to how its done

Link to comment
https://forums.phpfreaks.com/topic/181275-how-is-this-possible/#findComment-956306
Share on other sites

I would start here as w3 schools explains it very well, but basically, with ajax, you create an object (either xmlhttpobject for non ie browsers, or activex object for ie) and you set a request to a page (written in a server side language, like php, asp, etc.) This page then returns something back.

Link to comment
https://forums.phpfreaks.com/topic/181275-how-is-this-possible/#findComment-956324
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.