Method and apparatus for maintaining session affinity across multiple server groups

    公开(公告)号:US07543066B2

    公开(公告)日:2009-06-02

    申请号:US09845502

    申请日:2001-04-30

    IPC分类号: G06F15/16

    摘要: The invention is a method and apparatus for maintaining session affinity within a server farm when requests sharing a session ID switch between server groups or between server clones in a single server group. In accordance with the invention, client requests include a list of clone identification codes, each code uniquely identifying a clone within a server group for handling the request. The clone identification code may be appended to a session identification code. For each different server that handles a request in a session, a new clone identification code is appended without deleting or overwriting any previously appended clone identification codes. When a request is received, the list of clone identification codes associated with the request is parsed in a predetermined order to search for the first clone identification code that matches one of the clone identification codes of a server in the appropriate server group. If a match is detected, the request is dispatched to that clone. If no match is found, the request is dispatched to a server clone in the server group using any reasonable Work Load Management (WLM) mechanism and then the clone identification code of the selected clone is added to the list.

    Method and apparatus for scheduling invalidation tests for HTTP sessions
    2.
    发明授权
    Method and apparatus for scheduling invalidation tests for HTTP sessions 有权
    调度HTTP会话无效测试的方法和装置

    公开(公告)号:US07222344B2

    公开(公告)日:2007-05-22

    申请号:US09822967

    申请日:2001-03-30

    IPC分类号: G06F9/46 G06F15/16

    摘要: The invention is a method and apparatus for invalidating session data stored in a database. In accordance with the invention, http sessions stored in the database are allowed to remain in the database without real time testing for session time out. Instead, invalid (or timed out) sessions remain in the database until a specified time. At that specified time, all http sessions are invalidated without actually testing them for time out. Alternately, each session can be individually tested for time out and only those sessions which have actually timed out are removed from the database or otherwise invalidated.

    摘要翻译: 本发明是一种使存储在数据库中的会话数据无效的方法和装置。 根据本发明,允许存储在数据库中的http会话保留在数据库中,而无需实时测试会话超时。 相反,无效(或超时)会话保留在数据库中,直到指定的时间。 在指定的时间内,所有http会话都无效,但实际上并没有测试它们。 或者,每个会话可以单独测试超时,并且仅实际超时的会话将从数据库中删除或以其他方式无效。