Patent ID: 7610373

Claim:
A method for session invalidation processing in an application server cluster, said application server cluster comprising a plurality of application servers, the method comprising: generating a random weight vote using a random number generator for each instance of a web application contained in the cluster; assigning the random weight vote to each web application upon each launch of the web application in an application server of the application server cluster; broadcasting the vote to other application servers of the application server cluster; receiving a vote for the web application from each of the other application servers in the application server cluster in which the web application has been launched; storing the votes in a vote table in each of the application servers in the application server cluster; dynamically updating the votes in the vote table of each application server in the application server cluster; assigning invalidation processing to the application server containing the web application having the highest vote in the updated vote table, wherein the highest vote comprises the highest weight vote; and performing invalidation processing for all instances of the web application running in the application servers of the application server cluster.