for a form that matches the form that is being submitted a recorder according to the present invention does not search for forms in the session history which are identical to the form being submitted instead the recorder inspects all forms in all of the documents in the session history the recorder compares each form in the session history to the form being submitted the result of this comparison is a set of data that describes the differences between the form being submitted and the form from the session history this set of data includes based on the data from the comparison which is calculated for every form in the session history the recorder chooses the form from the session history which is the most similar to the form being submitted the recorder may assign levels of importance to individual differences for example a missing form field is a difference that is equal to five extra form fields if there are several forms in the session history with the same total level of difference to the form being submitted the recorder applies additional criteria to choose among them for example the recorder prefers a form contained in the most recently accessed web page to a form further back in the session history once the recorder has chosen the most suitable form from the session history the recorder records a context full replay instruction such as u201c submitform.