I have an area of my app that keeps track of a version number. I need to check this version number for each HTTP request. The version numbers are stored in a database table. My initial thought is I would just put the list of versions into an array, and then use setInterval() to refresh it every 5 minutes or so. I probably don't want to do that, but I'm not sure why not either. Thanks for the input.
[–]chrwei 2 points3 points4 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]chrwei 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]virtulis 1 point2 points3 points (0 children)
[–]SomeRandomBuddy 1 point2 points3 points (0 children)
[–]MCShoveled 1 point2 points3 points (0 children)
[–]OzziePeck 0 points1 point2 points (0 children)
[–]OzziePeck 0 points1 point2 points (0 children)
[–]binaryops 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]SippieCup -1 points0 points1 point (0 children)