I saw many posts related to the browser detection, User agent detection etc...I want to detect the version from server side and send appropriate data based on that.
Take a look at user-agent-utils.