Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
Jquery/Ajax update database every x minutes
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Kaz" data-source="post: 366253" data-attributes="member: 1611"><p>Because the times will vary, majority will be every 5 minutes. However as I stated, there may be times where other people get an update at different times.</p><p>One user may have 4 mins and 30 seconds, another may have 4 mins and 10 seconds.</p><p></p><p>A prime example would the likes of mafia/mob wars on facebook/mobile.</p><p>Energy, health, stamina get updated every x minutes, however the times may differ based upon the users chosen starting class.</p><p>When the user is online it updates the value there and then (update via ajax)</p><p>Whereas if the user is offline, they still get the same update.</p><p>Obviously once they reach the 'max allocated amount' (100/100 or 50/50), the update gives that user nothing, whereas other users will remain to get updated</p></blockquote><p></p>
[QUOTE="Kaz, post: 366253, member: 1611"] Because the times will vary, majority will be every 5 minutes. However as I stated, there may be times where other people get an update at different times. One user may have 4 mins and 30 seconds, another may have 4 mins and 10 seconds. A prime example would the likes of mafia/mob wars on facebook/mobile. Energy, health, stamina get updated every x minutes, however the times may differ based upon the users chosen starting class. When the user is online it updates the value there and then (update via ajax) Whereas if the user is offline, they still get the same update. Obviously once they reach the 'max allocated amount' (100/100 or 50/50), the update gives that user nothing, whereas other users will remain to get updated [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Jquery/Ajax update database every x minutes
Top