Patent ID: 7630988

Claim:
A computer-readable recording medium that stores therein a computer program that causes a computer to implement a method of sharing session management data between a plurality of requests made in one session by a client application to a server application written in a non-object-oriented language, the computer program causing the computer to execute: creating a server instance associated with a thread shared with the server application when a request not yet recognized as belonging to a session is received, wherein a session identification data is affixed to the request so that the request is recognized as belonging to the session; calling the server application that includes a first predetermined function and a second predetermined function from the server instance created, the first predetermined function being a function that sets the session management data in the shared thread and the second predetermined function being a function that retrieves the session management data from the shared thread; keeping the session management data, set by the server application and retrieved from the shared thread, in a variable in the server instance when a process of the server application called ends; setting the session management data, kept in the variable in the server instance corresponding to the session identification data, in the shared thread when the request containing the session identification data is received; and calling the server application from the server instance when the session management data is set in the shared thread; wherein the computer-readable recording medium is a physical computer-readable recording medium.