A computer-readable medium having stored thereon sequences of instructions for recovering after failure of a first connection that was established between a client and a first server for accessing a resource, the sequences of instructions including instructions for performing the steps of: