1. One or more computer-readable media having computer-executable components for migrating user state data from a first execution environment to a second execution environment, said user state data being associated with an application program, said computer-executable components comprising: before migration, an interceptor component for recording interactions between the application program to be migrated and a data repository in the first execution environment when the application program is executed in the first execution environment, wherein the interceptor component is launched before the application program is launched in the first execution environment, said interactions including at least one of the following: function calls to the data repository and requests to the data repository; a location component for identifying specific locations in the data repository based on the recorded interactions between the application program and the data repository in the first execution environment, said identified locations corresponding to the user state data associated with the application program; a script component for generating computer-executable scripts based on the identified locations; and a migration component for migrating the user state data associated with the application program from the first execution environment to the second execution environment by executing the generated computer-executable scripts in the first execution environment and the second execution environment.