JP5117897B2 - Web system and information processing method in web system - Google Patents

Web system and information processing method in web system Download PDF

Info

Publication number
JP5117897B2
JP5117897B2 JP2008068170A JP2008068170A JP5117897B2 JP 5117897 B2 JP5117897 B2 JP 5117897B2 JP 2008068170 A JP2008068170 A JP 2008068170A JP 2008068170 A JP2008068170 A JP 2008068170A JP 5117897 B2 JP5117897 B2 JP 5117897B2
Authority
JP
Japan
Prior art keywords
session
login
information
web
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008068170A
Other languages
Japanese (ja)
Other versions
JP2009223674A (en
Inventor
康治 山下
修 沖野
泰士 経塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2008068170A priority Critical patent/JP5117897B2/en
Publication of JP2009223674A publication Critical patent/JP2009223674A/en
Application granted granted Critical
Publication of JP5117897B2 publication Critical patent/JP5117897B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Description

本発明は、ウェブシステムおよびウェブシステムにおける情報処理方法に関するものである。   The present invention relates to a web system and an information processing method in the web system.

従来において、HTTP(HyperText Transfer Protocol)とHTTPS(HyperText Transfer Protocol Security)をサポートするウェブブラウザから所定のログインIDおよびパスワードが送信されたときに限って情報を操作できるウェブシステムがある。   2. Description of the Related Art Conventionally, there is a web system that can manipulate information only when a predetermined login ID and password are transmitted from a web browser that supports HyperText Transfer Protocol (HTTP) and HyperText Transfer Protocol Security (HTTPS).

ウェブシステムのウェブサーバは、ログインしてからログアウトするまでの間にだけ使用されるセッション情報とセッションIDを対応づけて記憶する。ウェブブラウザは、セッションIDを含むクッキー情報を記憶する。ウェブブラウザは、クッキー情報内のセッションIDと操作内容を含むセッション情報操作要求をウェブブラウザに送信する。ウェブブラウザは、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答をウェブブラウザに送信する。   The web server of the web system stores session information and a session ID that are used only after logging in until logging out. The web browser stores cookie information including a session ID. The web browser transmits a session information operation request including the session ID and operation content in the cookie information to the web browser. The web browser operates the session information stored in association with the session ID in the session information operation request, and transmits a response including the operation result to the web browser.

また、複数のウェブサーバを備えるウェブシステムでは、各ウェブサーバが、セッション情報とセッションIDを記憶する。このウェブシステムでは、ウェブブラウザからログインIDなどを含むログイン要求を受信したウェブブラウザが、前述のようにセッション情報を操作する。ウェブブラウザは、操作によりセッション情報を変更したなら、変更後のセッション情報を他のウェブブラウザに送信する。他の各ウェブブラウザは、送信されたセッション情報で古いセッション情報を更新する。   In a web system including a plurality of web servers, each web server stores session information and a session ID. In this web system, a web browser that has received a login request including a login ID from the web browser operates session information as described above. If the session information is changed by the operation, the web browser transmits the changed session information to another web browser. Each of the other web browsers updates the old session information with the transmitted session information.

また、このウェブシステムでは、他のウェブサーバが同じログインIDおよび同じパスワードを含むログイン要求を他のウェブブラウザから後に受信したなら、そのウェブブラウザからのセッション情報操作要求によりそのウェブサーバがセッション情報を操作する。ウェブサーバは、操作によりセッション情報を変更したなら、変更後のセッション情報を他のウェブサーバに送信する。他の各ウェブサーバは、送信されたセッション情報で古いセッション情報を更新する。   In this web system, if another web server later receives a login request including the same login ID and the same password from another web browser, the web server obtains session information by a session information operation request from the web browser. Manipulate. If the session information is changed by the operation, the web server transmits the changed session information to another web server. Each other web server updates the old session information with the transmitted session information.

また、このウェブシステムでは、他のウェブサーバが同じログインIDおよび同じパスワードを含むログイン要求を他のウェブブラウザから後に受信した場合であっても、先にログイン要求を送信したウェブブラウザからのセッション情報操作要求により先にログイン要求を受信したウェブサーバがセッション情報を操作し、他のウェブサーバはセッション情報を更新する。   In this web system, even if another web server receives a login request including the same login ID and the same password later from another web browser, the session information from the web browser that transmitted the login request first. The web server that has received the login request first by the operation request operates the session information, and the other web servers update the session information.

また、複数のウェブサーバを備える他のウェブシステムでは、データベースサーバがセッション情報とセッションIDを記憶する。このウェブシステムでは、データベースサーバは、ログイン要求を受信したウェブサーバから要求されたときに限り、セッション情報を操作する。   In another web system including a plurality of web servers, the database server stores session information and a session ID. In this web system, the database server manipulates the session information only when requested by the web server that received the login request.

また、このウェブシステムでは、他のウェブサーバが同じログインIDおよび同じパスワードを含むログイン要求を他のウェブブラウザから後に受信したなら、データベースサーバは、そのウェブブラウザからのセッション情報操作要求によりそのウェブサーバから要求されたときに限り、セッション情報を操作する。   Further, in this web system, if another web server receives a login request including the same login ID and the same password later from another web browser, the database server may respond to the session information operation request from the web browser by the web server. Manipulate session information only when requested by.

また、このウェブシステムでは、他のウェブサーバが同じログインIDを含むログイン要求を他のウェブブラウザから後に受信した場合であっても、データベースサーバは、先にログイン要求を送信したウェブブラウザからのセッション情報操作要求により先にログイン要求を受信したウェブサーバから要求されたときに限り、セッション情報を操作する。   Further, in this web system, even if another web server receives a login request including the same login ID later from another web browser, the database server can send a session from the web browser that transmitted the login request first. Session information is manipulated only when requested by a web server that has previously received a login request in response to an information manipulation request.

この出願の発明に関連する先行技術文献情報としては次のものがある。
特開2002−140294号公報
Prior art document information related to the invention of this application includes the following.
JP 2002-140294 A

上記のように、複数のウェブサーバを備えるウェブシステムにあっては、同じログインIDおよび同じパスワードを含むログイン要求が前後して送信された場合、一方のログイン要求を送信したウェブブラウザからのセッション情報操作要求によってのみ、セッション情報を操作できるようになっている。つまり、2重のログインを防止することができる。   As described above, in a web system including a plurality of web servers, when login requests including the same login ID and the same password are transmitted before and after, the session information from the web browser that transmitted the one login request The session information can be operated only by an operation request. That is, double login can be prevented.

しかし、複数のウェブサーバを備えるウェブシステムにあっては、各ウェブサーバがセッション情報を記憶しなければならず、必要な記憶容量が増大する。また、変更されたセッション情報をウェブサーバ間で送受信し、いわゆる同期させなければならず、各ウェブサーバの負荷が増大する。その結果、ウェブブラウザへ操作結果を送信するレスポンスが遅くなる。逆に、レスポンスを速くするには、ウェブサーバの台数を少なくしなければならない。しかし、そうすると、多数のウェブブラウザからのセッション情報操作要求に応じることができなくなってしまう。したがい、レスポンスを保ち、多数のウェブブラウザからのセッション情報操作要求に応じるには、増大する負荷に耐えうる高い能力がウェブサーバに必要となる。   However, in a web system including a plurality of web servers, each web server must store session information, and the required storage capacity increases. In addition, the changed session information must be transmitted and received between web servers, so-called synchronization, and the load on each web server increases. As a result, the response for transmitting the operation result to the web browser is delayed. Conversely, to speed up the response, the number of web servers must be reduced. However, this makes it impossible to respond to session information operation requests from a large number of web browsers. Therefore, in order to maintain the response and respond to the session information operation requests from a large number of web browsers, the web server needs to have a high ability to withstand the increasing load.

また、複数のウェブサーバを備える他のウェブシステムにあっては、データベースサーバがセッション情報を記憶し、変更されたセッション情報をデータベースサーバと各ウェブサーバ間で送受信しなければならない。そのため、データベースサーバの負荷が増大する。その結果、同様にレスポンスが遅くなり、レスポンスを速くするには、ウェブサーバの台数を少なくしなければならない。しかし、そうすると、多数のウェブブラウザからのセッション情報操作要求に応じることができなくなってしまう。したがい、レスポンスを保ち、多数のウェブブラウザからのセッション情報操作要求に応じるには、増大する負荷に耐えうる高い能力がデータベースサーバに必要となる。   In another web system including a plurality of web servers, the database server stores session information, and the changed session information must be transmitted and received between the database server and each web server. This increases the load on the database server. As a result, the response is similarly slow, and the number of web servers must be reduced in order to speed up the response. However, this makes it impossible to respond to session information operation requests from a large number of web browsers. Accordingly, in order to maintain the response and respond to the session information operation requests from a large number of web browsers, the database server needs to have a high ability to withstand the increasing load.

本発明は、上記の課題に鑑みてなされたものであり、その目的とするところは、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、高い能力をもつデータベースサーバが不要なウェブシステムを提供することにある。   The present invention has been made in view of the above-described problems, and the object of the present invention is to prevent session log-in at each web server while preventing double login, and to be high. The object is to provide a web system that does not require a database server with capability.

上記の課題を解決するために、請求項1の本発明は、第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムであって、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを含むログイン情報削除要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報削除要求内のセッションIDを含むログイン情報を削除し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDとセッション情報を削除し、第2ウェブサーバは、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信することを特徴とするウェブシステムをもって解決手段とする。   In order to solve the above problems, the present invention of claim 1 is connected to a first web browser and a second web browser, a load balancer connected to the first web browser and the second web browser, and the load balancer. A web system including a first web server, a second web server, and a database server connected to the first web server and the second web server, wherein the first web server passes through the load balancer from the first web browser. If the first web browser logs in by the login request transmitted in this way, the session ID and the session information are generated and stored in association with each other, and the login information including the login ID, the session ID, and the own address in the login request And send the login information to the database server. The base server stores the transmitted login information, and the first web server stores the login information in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The session information stored in association with the session ID is operated, a response including the operation result is transmitted to the first web browser via the load balancer, and the second web server is passed from the second web browser via the load balancer. When the second web browser has logged in by the login request including the login ID transmitted, the database server transmits the login information request including the login ID in the login request to the database server. Login information including the login ID is sent to the second web server, and the second web server The server transmits a session deletion request including the session ID in the login information to the first web server having the address in the transmitted login information, and the first web server transmits the session deletion request in the transmitted session deletion request. The login information deletion request including the session ID is transmitted to the database server, the database server deletes the login information including the session ID in the transmitted login information deletion request, and the first web server transmits the transmitted session deletion request. The second web server generates a session ID and session information and stores them in association with each other, and stores the login ID in the login request, the session ID and its own address. Information and the login information The database server stores the transmitted login information, and the second web server stores the login information transmitted from the second web browser via the load balancer according to the operation content in the session information operation request. A solution means having a web system characterized in that the session information stored in association with the session ID in the session information operation request is operated, and a response including the operation result is transmitted to the second web browser via the load balancer. To do.

請求項2の本発明は、第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムであって、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していると判定したなら、セッションIDを記憶している旨の応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶している旨の応答が送信されたなら、負荷分散装置を介して、第2ウェブブラウザにエラー応答を送信することを特徴とするウェブシステムをもって解決手段とする。   The present invention of claim 2 includes a first web browser and a second web browser, a load balancer connected to the first web browser and the second web browser, a first web server and a second web connected to the load balancer. A web system including a server, a database server connected to a first web server, and a second web server, wherein the first web server is first configured by a login request transmitted from the first web browser via the load balancer. When the web browser logs in, the session ID and session information are generated and stored in association with each other, and login information including the login ID, the session ID, and the own address in the login request is generated, and the login information is stored in the database. Sent to the server, the database server sent The first web server stores the login information in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The login is performed by operating the session information and transmitting a response including the operation result to the first web browser via the load balancer, and the second web server being sent from the second web browser via the load balancer. When the second web browser logs in by a login request including an ID, the login information request including the login ID in the login request is transmitted to the database server, and the database server logs in including the login ID in the transmitted login information request. Information is transmitted to the second web server, and the second web server A session presence / absence notification request including the session ID in the login information is transmitted to the first web server having the address in the information, and the first web server stores the session ID in the transmitted session presence / absence notification request. If it is determined that the session ID is stored, a response indicating that the session ID is stored is transmitted to the second web server, and the second web server stores the session ID. If a response to the effect is transmitted, an error response is transmitted to the second web browser via the load balancer as a solution means.

請求項3の本発明は、第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムであって、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の判定結果を含む応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信することを特徴とするウェブシステムをもって解決手段とする。   The present invention of claim 3 includes a first web browser and a second web browser, a load balancer connected to the first web browser and the second web browser, a first web server and a second web connected to the load balancer. A web system including a server, a database server connected to a first web server, and a second web server, wherein the first web server is first configured by a login request transmitted from the first web browser via the load balancer. When the web browser logs in, the session ID and session information are generated and stored in association with each other, and login information including the login ID, the session ID, and the own address in the login request is generated, and the login information is stored in the database. Sent to the server, the database server sent The first web server stores the login information in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The login is performed by operating the session information and transmitting a response including the operation result to the first web browser via the load balancer, and the second web server being sent from the second web browser via the load balancer. When the second web browser logs in by a login request including an ID, the login information request including the login ID in the login request is transmitted to the database server, and the database server logs in including the login ID in the transmitted login information request. Information is transmitted to the second web server, and the second web server Does the first web server having the address in the information transmit a session deletion request including the session ID in the login information, and does the first web server store the session ID in the transmitted session deletion request? If it is determined that the session ID is not stored, a response including a determination result indicating that the session ID is not stored is transmitted to the second web server. If a response indicating that it is not stored is transmitted, a session ID and session information are generated and stored in association with each other, and login information including the login ID in the login request, the session ID and its own address is generated. The login information is transmitted to the database server, and the database server The login information including the session ID in the session information is deleted, the transmitted login information is stored, and the second web server operates in the session information operation request received from the second web browser via the load balancer. In response, the session information stored in association with the session ID in the session information operation request is operated, and a response including the operation result is transmitted to the second web browser via the load balancer. Is the solution.

請求項4の本発明は、第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムであって、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信することを特徴とするウェブシステムをもって解決手段とする。 請求項5の本発明は、第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムにおける情報処理方法であって、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを含むログイン情報削除要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報削除要求内のセッションIDを含むログイン情報を削除し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDとセッション情報を削除し、第2ウェブサーバは、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信することを特徴とするウェブシステムにおける情報処理方法をもって解決手段とする。   The present invention of claim 4 includes a first web browser and a second web browser, a load balancer connected to the first web browser and the second web browser, a first web server and a second web connected to the load balancer. A web system including a server, a database server connected to a first web server, and a second web server, wherein the first web server is first configured by a login request transmitted from the first web browser via the load balancer. When the web browser logs in, the session ID and session information are generated and stored in association with each other, and login information including the login ID, the session ID, and the own address in the login request is generated, and the login information is stored in the database. Sent to the server, the database server sent The first web server stores the login information in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The login is performed by operating the session information and transmitting a response including the operation result to the first web browser via the load balancer, and the second web server being sent from the second web browser via the load balancer. When the second web browser logs in by a login request including an ID, the login information request including the login ID in the login request is transmitted to the database server, and the database server logs in including the login ID in the transmitted login information request. Information is transmitted to the second web server, and the second web server A session presence / absence notification request including the session ID in the login information is transmitted to the first web server having the address in the information, and the first web server stores the session ID in the transmitted session presence / absence notification request. If it is determined that the session ID is not stored, a response indicating that the session ID is not stored is transmitted to the second web server, and the second web server stores the session ID. If a response indicating that it has not been transmitted is generated, a session ID and session information are generated and stored in association with each other, and login information including a login ID in the login request, the session ID and its own address is generated, Login information is sent to the database server, and the database server The login information including the session ID is deleted, the transmitted login information is stored, and the second web server responds to the operation content in the session information operation request received from the second web browser via the load balancer. To solve the problem with a web system characterized in that the session information stored in association with the session ID in the session information manipulation request is manipulated and a response including the manipulation result is transmitted to the second web browser via the load balancer. Means. The present invention of claim 5 includes a first web browser and a second web browser, a load balancer connected to the first web browser and the second web browser, a first web server and a second web connected to the load balancer. An information processing method in a web system including a server, a database server connected to a first web server, and a second web server, wherein the first web server is a login sent from a first web browser via a load balancer If the first web browser logs in by request, the session ID and session information are generated and stored in association with each other, and login information including the login ID, the session ID, and the own address in the login request is generated. Send login information to database server and database The server stores the transmitted login information, and the first web server stores the login information in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The session information stored in association with the session ID is operated, a response including the operation result is transmitted to the first web browser via the load balancer, and the second web server is passed from the second web browser via the load balancer. When the second web browser has logged in by the login request including the login ID transmitted, the database server transmits the login information request including the login ID in the login request to the database server. Login information including the login ID in the server is transmitted to the second web server, and the second web server The session deletion request including the session ID in the login information is transmitted to the first web server having the address in the transmitted login information, and the first web server transmits the session ID in the transmitted session deletion request. The database server deletes the login information including the session ID in the transmitted login information deletion request, and the first web server transmits the login information deletion request including the session ID in the transmitted session deletion request. The second web server deletes the session ID and the session information, generates the session ID and the session information and stores them in association with each other, and stores the login information including the login ID in the login request, the session ID and its own address. Generate and store the login information in the database The database server stores the transmitted login information, and the second web server stores the session according to the operation content in the session information operation request received from the second web browser via the load balancer. An information processing method in a web system characterized by operating session information stored in association with a session ID in an information operation request and transmitting a response including an operation result to a second web browser via a load balancer. Let it be a solution.

請求項6の本発明は、第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムにおける情報処理方法であって、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していると判定したなら、セッションIDを記憶している旨の応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶している旨の応答が送信されたなら、負荷分散装置を介して、第2ウェブブラウザにエラー応答を送信することを特徴とするウェブシステムにおける情報処理方法をもって解決手段とする。   The present invention of claim 6 includes a first web browser and a second web browser, a load balancer connected to the first web browser and the second web browser, a first web server and a second web connected to the load balancer. An information processing method in a web system including a server, a database server connected to a first web server, and a second web server, wherein the first web server is a login sent from a first web browser via a load balancer If the first web browser logs in by request, the session ID and session information are generated and stored in association with each other, and login information including the login ID, the session ID, and the own address in the login request is generated. Send login information to database server and database The server stores the transmitted login information, and the first web server stores the login information in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The session information stored in association with the session ID is operated, a response including the operation result is transmitted to the first web browser via the load balancer, and the second web server is passed from the second web browser via the load balancer. When the second web browser has logged in by the login request including the login ID transmitted, the database server transmits the login information request including the login ID in the login request to the database server. Login information including the login ID in the server is transmitted to the second web server, and the second web server , A session presence / absence notification request including the session ID in the login information is transmitted to the first web server having the address in the transmitted login information, and the first web server It is determined whether or not the session ID is stored, and if it is determined that the session ID is stored, a response indicating that the session ID is stored is transmitted to the second web server. If a response indicating that the session ID is stored is transmitted, an error response is transmitted to the second web browser via the load balancer, and the information processing method in the web system is used as the solving means.

請求項7の本発明は、第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムにおける情報処理方法であって、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の判定結果を含む応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信することを特徴とするウェブシステムにおける情報処理方法をもって解決手段とする。   The present invention of claim 7 includes a first web browser and a second web browser, a load balancer connected to the first web browser and the second web browser, a first web server and a second web connected to the load balancer. An information processing method in a web system including a server, a database server connected to a first web server, and a second web server, wherein the first web server is a login sent from a first web browser via a load balancer If the first web browser logs in by request, the session ID and session information are generated and stored in association with each other, and login information including the login ID, the session ID, and the own address in the login request is generated. Send login information to database server and database The server stores the transmitted login information, and the first web server stores the login information in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The session information stored in association with the session ID is operated, a response including the operation result is transmitted to the first web browser via the load balancer, and the second web server is passed from the second web browser via the load balancer. When the second web browser has logged in by the login request including the login ID transmitted, the database server transmits the login information request including the login ID in the login request to the database server. Login information including the login ID in the server is transmitted to the second web server, and the second web server The session deletion request including the session ID in the login information is transmitted to the first web server having the address in the transmitted login information, and the first web server transmits the session ID in the transmitted session deletion request. Is determined, and if it is determined that the session ID is not stored, a response including a determination result indicating that the session ID is not stored is transmitted to the second web server. If a response indicating that the session ID is not stored is transmitted, the session ID and the session information are generated and stored in association with each other, including the login ID in the login request, the session ID, and its own address. Generate login information and send the login information to the database server. Deletes the login information including the session ID in the transmitted login information, stores the transmitted login information, and the second web server receives the session information operation received from the second web browser via the load balancer. Depending on the operation content in the request, the session information stored in association with the session ID in the session information operation request is operated, and a response including the operation result is transmitted to the second web browser via the load balancer. The information processing method in the characteristic web system is used as the solution means.

請求項8の本発明は、第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムにおける情報処理方法であって、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信することを特徴とするウェブシステムにおける情報処理方法をもって解決手段とする。   The present invention of claim 8 includes a first web browser and a second web browser, a load balancer connected to the first web browser and the second web browser, a first web server and a second web connected to the load balancer. An information processing method in a web system including a server, a database server connected to a first web server, and a second web server, wherein the first web server is a login sent from a first web browser via a load balancer If the first web browser logs in by request, the session ID and session information are generated and stored in association with each other, and login information including the login ID, the session ID, and the own address in the login request is generated. Send login information to database server and database The server stores the transmitted login information, and the first web server stores the login information in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The session information stored in association with the session ID is operated, a response including the operation result is transmitted to the first web browser via the load balancer, and the second web server is passed from the second web browser via the load balancer. When the second web browser has logged in by the login request including the login ID transmitted, the database server transmits the login information request including the login ID in the login request to the database server. Login information including the login ID in the server is transmitted to the second web server, and the second web server , A session presence / absence notification request including the session ID in the login information is transmitted to the first web server having the address in the transmitted login information, and the first web server It is determined whether or not the session ID is stored, and if it is determined that the session ID is not stored, a response indicating that the session ID is not stored is transmitted to the second web server. If a response indicating that the session ID is not stored is transmitted, the session ID and the session information are generated and stored in association with each other, and the login information including the login ID in the login request, the session ID, and its own address And send the login information to the database server. The login information including the session ID in the received login information is deleted, the transmitted login information is stored, and the second web server receives the session information operation request received from the second web browser via the load balancer. The session information stored in association with the session ID in the session information operation request is operated according to the operation content of the operation, and a response including the operation result is transmitted to the second web browser via the load balancer. The information processing method in the web system is used as a solution means.

請求項1、5の本発明によれば、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを含むログイン情報削除要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報削除要求内のセッションIDを含むログイン情報を削除し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDとセッション情報を削除し、第2ウェブサーバは、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信するので、後発のログイン要求を優先することで、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、データベースサーバはセッション情報を操作しないので、高い能力をもつデータベースサーバが不要である。また、各ウェブサーバでセッション情報を記憶し同期する必要がないので、レスポンスを保ちつつ、ウェブサーバを増設でき、よって、セッション情報操作要求の増加に応じることができる。   According to the first and fifth aspects of the present invention, when the first web browser logs in by the login request transmitted from the first web browser via the load balancer, the first web server obtains the session ID and the session information. Generate and store the login information including the login ID, the session ID, and the own address in the login request, and transmit the login information to the database server. The database server The first web server stores the information in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The session information is manipulated, and the response including the manipulation result is first sent through the load balancer. If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server transmits the login ID in the login request. The login information request including the login information included in the transmitted login information request is transmitted to the second web server, and the second web server includes the login information request included in the transmitted login information request. The session deletion request including the session ID in the login information is transmitted to the first web server having the address, and the first web server issues the login information deletion request including the session ID in the transmitted session deletion request. To the database server, the database server The login information including the session ID in the received login information deletion request is deleted, the first web server deletes the session ID and the session information in the transmitted session deletion request, and the second web server Session information is generated and stored in association with each other, login information including a login ID in the login request, the session ID and its own address is generated, and the login information is transmitted to the database server. And the second web server associates the login information with the session ID in the session information operation request according to the operation content in the session information operation request received from the second web browser via the load balancer. Operating the stored session information and including the operation results. Since the answer is sent to the second web browser via the load balancer, it is not necessary to store and synchronize the session information on each web server while giving priority to the subsequent login request while preventing double login. In addition, since the database server does not operate session information, a database server with high capability is not required. Further, since there is no need to store and synchronize the session information in each web server, it is possible to increase the number of web servers while maintaining a response, and thus it is possible to respond to an increase in requests for session information operations.

請求項2、6の本発明によれば、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していると判定したなら、セッションIDを記憶している旨の応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶している旨の応答が送信されたなら、負荷分散装置を介して、第2ウェブブラウザにエラー応答を送信するので、先発のログイン要求を優先することで、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、データベースサーバはセッション情報を操作しないので、高い能力をもつデータベースサーバが不要である。また、各ウェブサーバでセッション情報を記憶し同期する必要がないので、レスポンスを保ちつつ、ウェブサーバを増設でき、よって、セッション情報操作要求の増加に応じることができる。   According to the present invention of claims 2 and 6, if the first web browser logs in by the login request transmitted from the first web browser via the load balancer, the first web server obtains the session ID and the session information. Generate and store the login information including the login ID, the session ID, and the own address in the login request, and transmit the login information to the database server. The database server The first web server stores the information in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The session information is manipulated, and the response including the manipulation result is first sent through the load balancer. If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server transmits the login ID in the login request. The login information request including the login information included in the transmitted login information request is transmitted to the second web server, and the second web server includes the login information request included in the transmitted login information request. The session presence / absence notification request including the session ID in the login information is transmitted to the first web server having the address, and the first web server stores the session ID in the transmitted session presence / absence notification request. If you determine whether or not you have memorized the session ID When the response indicating that the session ID is stored is transmitted to the second web server, and the response indicating that the session ID is stored is transmitted, the second web server transmits the second ID via the load balancer. Since an error response is sent to the web browser, it is not necessary to store and synchronize the session information in each web server while giving priority to the prior login request, preventing double login, and the database server Since no information is manipulated, there is no need for a highly capable database server. Further, since there is no need to store and synchronize the session information in each web server, it is possible to increase the number of web servers while maintaining a response, and thus it is possible to respond to an increase in requests for session information operations.

請求項3、7の本発明は、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の判定結果を含む応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信するので、後発のログイン要求を優先することで、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、データベースサーバはセッション情報を操作しないので、高い能力をもつデータベースサーバが不要である。また、各ウェブサーバでセッション情報を記憶し同期する必要がないので、レスポンスを保ちつつ、ウェブサーバを増設でき、よって、セッション情報操作要求の増加に応じることができる。   According to the third and seventh aspects of the present invention, the first web server generates a session ID and session information when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Are stored in association with each other, and generates login information including a login ID, a session ID, and its own address in the login request, and transmits the login information to the database server. The first web server stores the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. And the response including the operation result is sent to the first web via the load balancer. When the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server transmits the login ID in the login request. The login information request including the login information included in the transmitted login information request is transmitted to the second web server, and the second web server includes the login information request included in the transmitted login information request. Whether or not the first web server stores the session ID in the transmitted session deletion request, and transmits a session deletion request including the session ID in the login information. If it is determined that the session ID is not stored, the session If the response including the determination result indicating that D is not stored is transmitted to the second web server, and the response indicating that the session ID is not stored is transmitted, the second web server transmits the session ID and the session information. Generate and store in association with each other, generate login information including the login ID in the login request, the session ID and its own address, send the login information to the database server, the database server The login information including the session ID in the information is deleted, the transmitted login information is stored, and the second web server stores the operation information in the session information operation request received from the second web browser via the load balancer. Accordingly, the session information stored in association with the session ID in the session information operation request is stored. Since a response including the operation result is transmitted to the second web browser via the load balancer, a session at each web server is prevented by giving priority to the subsequent login request and preventing double login. There is no need to store and synchronize information, and since the database server does not manipulate session information, a highly capable database server is not required. Further, since there is no need to store and synchronize the session information in each web server, it is possible to increase the number of web servers while maintaining a response, and thus it is possible to respond to an increase in requests for session information operations.

請求項4、8の本発明によれば、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報を記憶し、第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信するので、先発のログイン要求を優先するにしても、そのログイン要求を受信したウェブサーバに記憶されたセッションIDおよびセッション情報などがウェブサーバの障害などで消滅した場合には、後発のログイン要求を許可することで、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、データベースサーバはセッション情報を操作しないので、高い能力をもつデータベースサーバが不要である。また、各ウェブサーバでセッション情報を記憶し同期する必要がないので、レスポンスを保ちつつ、ウェブサーバを増設でき、よって、セッション情報操作要求の増加に応じることができる。   According to the present invention of claims 4 and 8, if the first web browser logs in by the login request transmitted from the first web browser via the load balancer, the first web server obtains the session ID and the session information. Generate and store the login information including the login ID, the session ID, and the own address in the login request, and transmit the login information to the database server. The database server The first web server stores the information in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. The session information is manipulated, and the response including the manipulation result is first sent through the load balancer. If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server transmits the login ID in the login request. The login information request including the login information included in the transmitted login information request is transmitted to the second web server, and the second web server includes the login information request included in the transmitted login information request. The session presence / absence notification request including the session ID in the login information is transmitted to the first web server having the address, and the first web server stores the session ID in the transmitted session presence / absence notification request. It is determined whether the session ID is not stored When the response indicating that the session ID is not stored is transmitted to the second web server, and the response indicating that the session ID is not stored is transmitted, the second web server generates a session ID and session information. Are stored in association with each other, generate login information including the login ID in the login request, the session ID and the address of the login server, and transmit the login information to the database server. The login information including the session ID is deleted, the transmitted login information is stored, and the second web server responds to the operation content in the session information operation request received from the second web browser via the load balancer. Session information stored in association with the session ID in the session information operation request Since a response including an operation result is transmitted to the second web browser via the load balancer, even if priority is given to the previous login request, the session stored in the web server that received the login request When ID and session information disappear due to a failure of the web server, etc., it is necessary to store and synchronize the session information at each web server while preventing double login by allowing subsequent login requests. In addition, since the database server does not operate session information, a database server having high capability is not required. Further, since there is no need to store and synchronize the session information in each web server, it is possible to increase the number of web servers while maintaining a response, and thus it is possible to respond to an increase in requests for session information operations.

以下、本発明の実施の形態を図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本実施の形態に係るウェブシステム(以下、「本システム」という)の全体構成を示す図である。   FIG. 1 is a diagram showing an overall configuration of a web system (hereinafter referred to as “the present system”) according to the present embodiment.

本システムは、サーバ側部分とウェブブラウザ側部分とからなる。ウェブブラウザ側部分は、複数のウェブブラウザ(以下、単に「ブラウザ」という)を含む。ブラウザは、家庭やオフィスにあるパーソナルコンピュータなどの構成部分である。サーバ側部分は、各ブラウザとそのユーザによってログインされて使用される。ブラウザB1、B2は、互いに別のパーソナルコンピュータに構成されたものである。ウェブブラウザ側部分は、図示しないブラウザを含むが、動作は2つのブラウザで理解できるので、説明はブラウザB1、B2で行う。各ブラウザは区別しないときはブラウザBという。ブラウザB1、B2は、それぞれ本発明の第1ウェブブラウザ、第2ウェブブラウザに相当するものである。   This system includes a server side portion and a web browser side portion. The web browser side portion includes a plurality of web browsers (hereinafter simply referred to as “browser”). A browser is a component part of a personal computer in a home or office. The server side part is used by being logged in by each browser and its user. The browsers B1 and B2 are configured on different personal computers. The web browser side portion includes a browser (not shown), but since the operation can be understood by two browsers, the explanation is given by the browsers B1 and B2. When each browser is not distinguished, it is called browser B. Browsers B1 and B2 correspond to the first web browser and the second web browser of the present invention, respectively.

サーバ側部分は、複数のウェブサーバ1A、1B、…を含む。本システムの動作は2つのウェブサーバで理解できるので、説明はウェブサーバ1A、1Bで行う。各ウェブサーバは区別しないときはウェブサーバ1という。ウェブサーバ1A、1Bは、それぞれ本発明の第1ウェブサーバ、第2ウェブサーバに相当するものである
サーバ側部分は、さらに、各ブラウザが接続される通信網N、通信網Nと各ウェブサーバに接続された負荷分散装置2、各ウェブサーバに接続されたデータベースサーバ(以下、「DBサーバ」という)3を含む。通信網Nは、例えばインターネットである。
The server side portion includes a plurality of web servers 1A, 1B,. Since the operation of this system can be understood by two web servers, the explanation will be given by the web servers 1A and 1B. When each web server is not distinguished, it is called web server 1. The web servers 1A and 1B correspond to the first web server and the second web server of the present invention, respectively. The server side portion further includes a communication network N to which each browser is connected, a communication network N and each web server. And a database server (hereinafter referred to as “DB server”) 3 connected to each web server. The communication network N is, for example, the Internet.

本システムでは、ログインおよびこれによるサーバ側部分の使用を許可された各ユーザごとに異なるログインIDが使用される。本システムは、サーバ側部分に対し、同一のログインIDを含むログイン要求がブラウザB1、B2から前後して送信された場合、サーバ側部分が一方のブラウザによってのみ使用されるようになっている。つまり、本システムは、2重のログイン(2重ログイン)を防止するようになっている。本システムでは、先に送信されたログイン要求を先発のログイン要求、後に送信されたログイン要求を後発のログイン要求という。本システムでは、先発のログイン要求を優先し、これにより、先発のログイン要求を送信したブラウザによってのみサーバ側部分を使用させることと、後発のログイン要求を優先し、これにより、後発のログイン要求を送信したブラウザによってのみサーバ側部分を使用させることのいずれか一方がなされるようになっている。   In this system, a different login ID is used for each user who is permitted to log in and use the server side portion. In this system, when a login request including the same login ID is transmitted to the server side part from the browsers B1 and B2, the server side part is used only by one browser. That is, the present system prevents double login (double login). In this system, a login request transmitted first is called a first login request, and a login request transmitted later is called a subsequent login request. In this system, priority is given to the first login request, so that the server side part is used only by the browser that sent the first login request, and the second login request is given priority. Either one of the server side parts is used only by the browser that has transmitted.

図2(a)は、DBサーバ3が備えた認証情報記憶部31を示す図である。   FIG. 2A is a diagram illustrating the authentication information storage unit 31 provided in the DB server 3.

DBサーバ3は、同図の認証情報記憶部31を有する。認証情報記憶部31には、各ログインIDにつき、そのログインIDおよびパスワードからなる認証情報が記憶されている。   The DB server 3 has an authentication information storage unit 31 shown in FIG. The authentication information storage unit 31 stores authentication information including a login ID and a password for each login ID.

図2(b)は、DBサーバ3が備えたログイン情報記憶部32を示す図である。   FIG. 2B is a diagram illustrating the login information storage unit 32 provided in the DB server 3.

DBサーバ3は、同図のログイン情報記憶部32を有する。ログイン情報記憶部32には、順次なされる各回のログインにつき、そのログインに関するログイン情報が記憶される。ログイン情報は、ログインのときに記憶され、これによるサーバ側部分の使用を終了する(「ログアウトする」という)ときに削除される。ログイン情報は、ログインに使用されたログインID、ログインしてからログアウトするまでの間にだけ使用されるセッション情報を示すセッションID、ならびに、そのログイン要求が送信されたウェブサーバのアドレスを含む。   The DB server 3 has a login information storage unit 32 shown in FIG. The login information storage unit 32 stores login information regarding the login for each successive login. The login information is stored at the time of login, and is deleted when the use of the server side portion by this is terminated (referred to as “logout”). The login information includes a login ID used for login, a session ID indicating session information used only after logging in and logging out, and an address of the web server to which the login request is transmitted.

図3は、負荷分散装置2から送信されたログイン要求を受信したウェブサーバ1の動作を示すフローチャートである。ウェブサーバ1A、1Bは共に同図のとおり動作する。ログイン要求は、ログインIDおよびパスワードを含む。負荷分散装置2はブラウザBから同様のログイン要求が送信されたときにログイン要求を送信する。   FIG. 3 is a flowchart showing the operation of the web server 1 that has received the login request transmitted from the load balancer 2. Both the web servers 1A and 1B operate as shown in FIG. The login request includes a login ID and a password. The load distribution apparatus 2 transmits a login request when a similar login request is transmitted from the browser B.

S1:ウェブサーバ1は、受信したログイン要求内のログインIDをDBサーバ3に送信し、これに対してDBサーバ3から送信されたパスワードを受信する。パスワードは、送信されたログインIDを含む認証情報内のパスワードである。   S1: The web server 1 transmits the login ID in the received login request to the DB server 3, and receives the password transmitted from the DB server 3 in response thereto. The password is a password in the authentication information including the transmitted login ID.

S3:ウェブサーバ1は、ログイン要求内のパスワードと受信したパスワードとが一致するか否かを判定する。   S3: The web server 1 determines whether or not the password in the login request matches the received password.

S5:ウェブサーバ1は、パスワード同士が一致しなかったなら、負荷分散装置2にエラー応答を送信する。エラー応答はブラウザBに転送される。   S5: The web server 1 transmits an error response to the load balancer 2 if the passwords do not match. The error response is forwarded to browser B.

S7:ウェブサーバ1は、パスワード同士が一致したなら、ログインIDを含むログイン情報要求を生成し、DBサーバ3に送信し、処理が終わる。   S7: If the passwords match, the web server 1 generates a login information request including the login ID, transmits it to the DB server 3, and the process ends.

なお、DBサーバ3は、ログイン情報要求内のログインIDを含むログイン情報を検索し、ログイン情報がないならログイン情報を含まない応答をウェブサーバ1に送信する一方、ログイン情報があったならログイン情報を含む応答をウェブサーバ1に送信する。   The DB server 3 searches the login information including the login ID in the login information request, and if there is no login information, transmits a response not including the login information to the web server 1, while if there is login information, the login information. Is sent to the web server 1.

S9:ウェブサーバ1は、応答を受信し、応答内にてログイン情報の有無を判定する。   S9: The web server 1 receives the response and determines the presence or absence of login information in the response.

S11:ウェブサーバ1は、ログイン情報がないと判定したなら、新たなセッションIDとセッション情報を生成する。セッション情報は、ログインしてからログアウトするまでの間にだけ使用される情報であり、ウェブサーバ1は、これをセッションIDに対応づけて記憶しておく。セッション情報に対しては、全体的または部分的な読み出し、変更、削除などの操作がなされる。   S11: If it is determined that there is no login information, the web server 1 generates a new session ID and session information. The session information is information used only after logging in until logging out, and the web server 1 stores this in association with the session ID. For the session information, an operation such as reading, changing, or deleting the whole or a part is performed.

S13:次に、ウェブサーバ1は、ログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、これをDBサーバ3に送信する。   S13: Next, the web server 1 generates login information including a login ID, a session ID, and its own address, and transmits this to the DB server 3.

なお、DBサーバ3は、送信されたログイン情報をログイン情報記憶部32に記憶させ、その旨の応答をウェブサーバ1に送信する。   The DB server 3 stores the transmitted login information in the login information storage unit 32 and transmits a response to that effect to the web server 1.

S15:次に、ウェブサーバ1は、生成したセッションIDを含むクッキー情報を生成し、これを含む正常応答を負荷分散装置2に送信し、処理が終わる。なお、正常応答は、ブラウザBに転送される。   S15: Next, the web server 1 generates cookie information including the generated session ID, transmits a normal response including the cookie information to the load balancer 2, and the process ends. The normal response is transferred to the browser B.

S21:ウェブサーバ1は、ステップS9でログイン情報があると判定したなら、先発、後発どちらのログイン要求を優先させるかを判定する。予め各ウェブサーバ1はどちらを優先させるかを示す情報を記憶しており、判定はその情報にしたがってなされる。   S21: If it is determined that there is login information in step S9, the web server 1 determines which of the first and second login requests is prioritized. Each web server 1 stores in advance information indicating which is prioritized, and the determination is made according to the information.

S23:ウェブサーバ1は、後発のログイン要求を優先させると判定したなら、受信したログイン情報内のアドレスを有するウェブサーバ1に対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、制御はステップS11に遷移する。セッション削除要求は、セッションの削除を要求するものである。   S23: If the web server 1 determines that priority is given to the subsequent login request, the web server 1 transmits a session deletion request including the session ID in the login information to the web server 1 having the address in the received login information. Control transitions to step S11. The session deletion request is for requesting deletion of a session.

S31:ウェブサーバ1は、先発のログイン要求を優先させると判定したなら、受信したログイン情報内のセッションIDを含むセッション有無通知要求を生成し、受信したログイン情報内のアドレスを有するウェブサーバ1に送信する。   S31: If it is determined that the prior login request is prioritized, the web server 1 generates a session presence / absence notification request including the session ID in the received login information, and sends it to the web server 1 having the address in the received login information. Send.

なお、このセッション有無通知要求を送信されたウェブサーバ1は、セッション有無通知要求内のセッションIDを記憶しているか否かを判定し、その判定結果を含む応答を送信する。   The web server 1 to which the session presence / absence notification request is transmitted determines whether or not the session ID in the session presence / absence notification request is stored, and transmits a response including the determination result.

S33:ウェブサーバ1は、セッションIDを記憶している旨の応答が送信されたか否かを判定する。   S33: The web server 1 determines whether or not a response indicating that the session ID is stored has been transmitted.

S35:セッションIDを記憶している旨の応答でない(NO)なら、制御はステップS11に遷移し、一方、セッションIDを記憶している旨の応答である(YES)なら、ウェブサーバ1は、負荷分散装置2にエラー応答を送信し、処理が終わる。エラー応答はブラウザBに転送される。   S35: If it is not a response indicating that the session ID is stored (NO), the control proceeds to step S11. If it is a response indicating that the session ID is stored (YES), the web server 1 An error response is transmitted to the load balancer 2 and the processing is completed. The error response is forwarded to browser B.

図4、図5は、それぞれ本システムにおいて後発のログイン要求を優先するときの動作例を示すシーケンス図の前半部、後半部である。   4 and 5 are a first half and a second half of a sequence diagram showing an operation example when priority is given to a subsequent login request in this system, respectively.

本システムでは、ウェブサーバで障害が発生しないときは正常処理が行われ、一方、障害が発生したときは異常処理が行われる。   In this system, normal processing is performed when no failure occurs in the web server, while abnormal processing is performed when a failure occurs.

これらの図は、ウェブサーバで障害が発生せず、正常処理が行われたときのものである。   These figures are obtained when normal processing is performed without any failure in the web server.

まず、図4を参照して、シーケンスの前半部を説明する。   First, the first half of the sequence will be described with reference to FIG.

S101:ブラウザB1は、ログインID「0111111111」およびパスワード「nnnnn」を含むログイン要求を負荷分散装置2に送信する。   S101: The browser B1 transmits a login request including the login ID “0111111111” and the password “nnnnn” to the load balancer 2.

なお、本実施の形態では、ブラウザと負荷分散装置2間、負荷分散装置2とウェブサーバ間では、HTTPやHTTPSによる通信がなされる。一方、ウェブサーバとDBサーバ3間では、SQLなどによる通信がなされる。   In the present embodiment, communication by HTTP or HTTPS is performed between the browser and the load balancer 2 and between the load balancer 2 and the web server. On the other hand, communication by SQL etc. is made between the web server and the DB server 3.

S103:負荷分散装置2は、ログイン要求を受信し、ログイン要求内のログインIDおよびパスワードを含むログイン要求を生成し、例えばウェブサーバ1Aに送信する。送信先は、例えば、ラウンドロビン選択により選択される。   S103: The load distribution apparatus 2 receives the login request, generates a login request including the login ID and password in the login request, and transmits the login request to, for example, the web server 1A. The transmission destination is selected by, for example, round robin selection.

S105:ウェブサーバ1Aは、ログイン要求を受信し、受信したログイン要求内のログインIDをDBサーバ3に送信する。   S105: The web server 1A receives the login request, and transmits the login ID in the received login request to the DB server 3.

S107:ウェブサーバ1Aは、これに対してDBサーバ3から送信されたパスワード「nnnnn」を受信する。   S107: The web server 1A receives the password “nnnnn” transmitted from the DB server 3 in response thereto.

S109:ウェブサーバ1Aは、ログイン要求内のパスワードと受信したパスワードとが一致するか否かを判定する。   S109: The web server 1A determines whether or not the password in the login request matches the received password.

S111:ウェブサーバ1Aは、パスワード同士が一致したなら、ログインIDを含むログイン情報要求を生成し、DBサーバ3に送信する。   S111: If the passwords match, the web server 1A generates a login information request including a login ID, and transmits the login information request to the DB server 3.

このとき、ログインID「0111111111」を含むログイン情報は未登録でログイン情報記憶部32に記憶されていない。   At this time, the login information including the login ID “0111111111” is not registered and is not stored in the login information storage unit 32.

S113:ウェブサーバ1Aは、この場合、未登録の旨のつまりログイン情報を含まない応答を受信する。   S113: In this case, the web server 1A receives a response indicating that it has not been registered, that is, does not include login information.

S115:ウェブサーバ1Aは、新たなセッションID「ABCD」とセッション情報を生成するとともに互いに対応づけて記憶する。生成されるセッションIDは、後述するように、ウェブサーバ1Bにより生成されるセッションIDとは異なるように生成される。   S115: The web server 1A generates a new session ID “ABCD” and session information and stores them in association with each other. As will be described later, the generated session ID is generated differently from the session ID generated by the web server 1B.

S117:ウェブサーバ1Aは、ログインID、セッションIDおよび自身のアドレス(便宜的に「AD1」とする)とを含むログイン情報を生成し、これをDBサーバ3に送信する。   S117: The web server 1A generates login information including a login ID, a session ID, and its own address (for convenience, “AD1”), and transmits this to the DB server 3.

なお、DBサーバ3は、送信されたログイン情報をログイン情報記憶部32に記憶させる。   The DB server 3 stores the transmitted login information in the login information storage unit 32.

S119:DBサーバ3は、記憶させた旨の応答をウェブサーバ1Aに送信する。   S119: The DB server 3 transmits a response indicating that it has been stored to the web server 1A.

S121:ウェブサーバ1Aは、応答を受信し、生成したセッションID「ABCD」を含むクッキー情報を生成し、これを含む正常応答を負荷分散装置2に送信する。   S121: The web server 1A receives the response, generates cookie information including the generated session ID “ABCD”, and transmits a normal response including the generated cookie information to the load balancer 2.

S123:負荷分散装置2は、正常応答を受信し、受信した正常応答内のクッキー情報を含む正常応答を生成し、ブラウザB1に送信する。このとき負荷分散装置2は、クッキー情報内のセッションIDと送信元のウェブサーバ1Aのアドレスを対応づけて記憶する。また、ブラウザB1は、正常応答内のクッキー情報を記憶する。   S123: The load distribution apparatus 2 receives the normal response, generates a normal response including the cookie information in the received normal response, and transmits the normal response to the browser B1. At this time, the load balancer 2 stores the session ID in the cookie information and the address of the transmission source web server 1A in association with each other. The browser B1 stores cookie information in the normal response.

これにより、ブラウザB1とそのユーザは、本システムのサーバ側部分にログインしたこととなる。   Thereby, the browser B1 and the user log in to the server side portion of the system.

S131:ブラウザB1は、ユーザにより、セッション情報に対する操作を目的とした入力を受ける。   S131: Browser B1 receives an input for the purpose of an operation on session information by the user.

S133:ブラウザB1は、クッキー情報内のセッションID「ABCD」および操作内容を含むセッション情報操作要求を生成し、負荷分散装置2に送信する。   S133: The browser B1 generates a session information operation request including the session ID “ABCD” in the cookie information and the operation content, and transmits it to the load balancer 2.

S135:負荷分散装置2は、セッション情報操作要求を受信し、セッション情報操作要求内のセッションIDおよび操作内容を含むセッション情報操作要求を生成し、セッションIDに対応づけて記憶したアドレスを有するウェブサーバ1Aに送信する。   S135: The load balancer 2 receives the session information operation request, generates a session information operation request including the session ID and operation content in the session information operation request, and has a web server having an address stored in association with the session ID Send to 1A.

S137:ウェブサーバ1Aは、セッション情報操作要求を受信し、セッション情報操作要求内のセッションIDを記憶しているか否かを判定する。   S137: The web server 1A receives the session information operation request, and determines whether or not the session ID in the session information operation request is stored.

S139:ウェブサーバ1Aは、セッションIDを記憶していると判定したなら、セッション情報操作要求内の操作内容に応じて、セッションIDに対応づけて記憶したセッション情報を操作する。   S139: If it is determined that the session ID is stored, the web server 1A operates the session information stored in association with the session ID according to the operation content in the session information operation request.

S141:ウェブサーバ1Aは、操作結果を含む応答を負荷分散装置2に送信する。   S141: The web server 1A transmits a response including the operation result to the load balancer 2.

S143:負荷分散装置2は、応答を受信し、同様の応答をブラウザB1に送信する。 S151:ブラウザB2は、ログインID「0111111111」およびパスワード「nnnnn」を含むログイン要求を負荷分散装置2に送信する。   S143: The load distribution apparatus 2 receives the response and transmits a similar response to the browser B1. S151: Browser B2 transmits a login request including login ID “0111111111” and password “nnnnnn” to load balancer 2.

S153:負荷分散装置2は、ログイン要求を受信し、ログイン要求内のログインIDおよびパスワードを含むログイン要求を生成し、この場合、ウェブサーバ1Bに送信する。送信先は、例えば、ラウンドロビン選択により選択される。   S153: The load distribution apparatus 2 receives the login request, generates a login request including the login ID and password in the login request, and transmits the login request to the web server 1B in this case. The transmission destination is selected by, for example, round robin selection.

S155:ウェブサーバ1Bは、ログイン要求を受信し、受信したログイン要求内のログインIDをDBサーバ3に送信する。   S155: The web server 1B receives the login request, and transmits the login ID in the received login request to the DB server 3.

S157:ウェブサーバ1Bは、これに対してDBサーバ3から送信されたパスワードを受信する。   S157: The web server 1B receives the password transmitted from the DB server 3 in response thereto.

S159:ウェブサーバ1Bは、ログイン要求内のパスワードと受信したパスワードとが一致するか否かを判定する。   S159: The web server 1B determines whether or not the password in the login request matches the received password.

S161:ウェブサーバ1Bは、パスワード同士が一致したなら、ログインIDを含むログイン情報要求を生成し、DBサーバ3に送信する。   S161: If the passwords match, the web server 1B generates a login information request including the login ID and transmits it to the DB server 3.

S163:ウェブサーバ1Bは、この場合、ログイン情報を含む応答を受信する。   S163: The web server 1B receives a response including login information in this case.

S165:ウェブサーバ1Bは、受信したログイン情報内のアドレスを有するウェブサーバ1Aに対し、受信したログイン情報内のセッションID「ABCD」を含むセッション削除要求を送信する。   S165: The web server 1B transmits a session deletion request including the session ID “ABCD” in the received login information to the web server 1A having the address in the received login information.

S167:ウェブサーバ1Aは、セッション削除要求を受信し、受信したセッション削除要求内のセッションIDを含むログイン情報削除要求をDBサーバ3に送信する。   S167: The web server 1A receives the session deletion request, and transmits a login information deletion request including the session ID in the received session deletion request to the DB server 3.

なお、DBサーバ3は、送信されたログイン情報削除要求内のセッションIDを含むログイン情報を削除する。   The DB server 3 deletes the login information including the session ID in the transmitted login information deletion request.

S169:DBサーバ3は、削除した旨の応答をウェブサーバ1Aに送信する。   S169: The DB server 3 transmits a response indicating deletion to the web server 1A.

S171:ウェブサーバ1Aは、セッションIDとこれに対応づけられたセッション情報を削除する。   S171: The web server 1A deletes the session ID and the session information associated therewith.

S173:ウェブサーバ1Aは、削除した旨の応答をウェブサーバ1Bに送信する。   S173: Web server 1A transmits a response to the effect of deletion to web server 1B.

これにより、ブラウザB1とそのユーザは、本システムのサーバ側部分からログアウトしたこととなる。   Thereby, the browser B1 and the user log out from the server side portion of the system.

S175:ウェブサーバ1Bは、新たなセッションID「WXYZ」とセッション情報を生成するとともに互いに対応づけて記憶する。生成されるセッションIDは、ウェブサーバ1Aにより生成されたセッションIDとは異なるように生成される。   S175: The web server 1B generates a new session ID “WXYZ” and session information and stores them in association with each other. The generated session ID is generated differently from the session ID generated by the web server 1A.

S177:ウェブサーバ1Bは、ログインID、セッションIDおよび自身のアドレス(便宜的に「AD2」とする)とを含むログイン情報を生成し、これをDBサーバ3に送信する。   S177: The web server 1B generates login information including a login ID, a session ID, and its own address (for convenience, “AD2”), and transmits this to the DB server 3.

なお、DBサーバ3は、送信されたログイン情報をログイン情報記憶部32に記憶させる。   The DB server 3 stores the transmitted login information in the login information storage unit 32.

S179:DBサーバ3は、記憶させた旨の応答をウェブサーバ1Bに送信する。   S179: The DB server 3 transmits a response to the effect that it has been stored to the web server 1B.

S181:ウェブサーバ1Bは、応答を受信し、生成したセッションID「WXYZ」を含むクッキー情報を生成し、これを含む正常応答を負荷分散装置2に送信する。   S181: The web server 1B receives the response, generates cookie information including the generated session ID “WXYZ”, and transmits a normal response including the generated cookie information to the load balancer 2.

S183:負荷分散装置2は、正常応答を受信し、受信した正常応答内のクッキー情報を含む正常応答を生成し、ブラウザB2に送信する。このとき負荷分散装置2は、クッキー情報内のセッションIDと送信元のウェブサーバ1Bのアドレスを対応づけて記憶する。また、ブラウザB2は、正常応答内のクッキー情報を記憶する。   S183: The load distribution apparatus 2 receives the normal response, generates a normal response including the cookie information in the received normal response, and transmits the normal response to the browser B2. At this time, the load balancer 2 stores the session ID in the cookie information in association with the address of the transmission source web server 1B. In addition, the browser B2 stores cookie information in the normal response.

これにより、ブラウザB1とそのユーザは、ログインしたこととなる。このとき、ブラウザB1とそのユーザは、既にログアウトしているので、2重ログインが防止されたこととなる。   Thereby, the browser B1 and the user have logged in. At this time, since the browser B1 and the user have already logged out, double login is prevented.

次に、図5を参照して、シーケンスの後半部を説明する。   Next, the second half of the sequence will be described with reference to FIG.

S191:S131と同様に、ブラウザB1は、ユーザにより、セッション情報に対する操作を目的とした入力を受ける。   S191: Similar to S131, the browser B1 receives an input for an operation for the session information by the user.

S193:ブラウザB1は、クッキー情報内のセッションID「ABCD」および操作内容を含むセッション情報操作要求を生成し、負荷分散装置2に送信する。   S193: The browser B1 generates a session information operation request including the session ID “ABCD” in the cookie information and the operation content, and transmits it to the load balancer 2.

S195:負荷分散装置2は、セッション情報操作要求を受信し、セッション情報操作要求内のセッションIDおよび操作内容を含むセッション情報操作要求を生成し、セッションIDに対応づけて記憶したアドレスを有するウェブサーバ1Aに送信する。   S195: The load distribution apparatus 2 receives the session information operation request, generates a session information operation request including the session ID and the operation content in the session information operation request, and has an address stored in association with the session ID Send to 1A.

S197:ウェブサーバ1Aは、セッション情報操作要求を受信し、セッション情報操作要求内のセッションIDを記憶しているか否かを判定する。   S197: The web server 1A receives the session information operation request, and determines whether or not the session ID in the session information operation request is stored.

S199:ウェブサーバ1Aは、この場合、セッションID「ABCD」は削除されているので、負荷分散装置2にエラー応答を送信する。   S199: In this case, since the session ID “ABCD” has been deleted, the web server 1A transmits an error response to the load balancer 2.

S201:負荷分散装置2は、エラー応答を受信し、同様のエラー応答をブラウザB1に送信する。   S201: The load distribution apparatus 2 receives an error response and transmits a similar error response to the browser B1.

S211:ブラウザB2は、ユーザにより、セッション情報に対する操作を目的とした入力を受ける。   S211: Browser B2 receives an input for an operation for session information by the user.

S213:ブラウザB2は、クッキー情報内のセッションID「WXYZ」および操作内容を含むセッション情報操作要求を生成し、負荷分散装置2に送信する。   S213: The browser B2 generates a session information operation request including the session ID “WXYZ” in the cookie information and the operation content, and transmits it to the load balancer 2.

S215:負荷分散装置2は、セッション情報操作要求を受信し、セッション情報操作要求内のセッションIDおよび操作内容を含むセッション情報操作要求を生成し、セッションIDに対応づけて記憶したアドレスを有するウェブサーバ1Bに送信する。   S215: The load distribution apparatus 2 receives the session information operation request, generates a session information operation request including the session ID and the operation content in the session information operation request, and has an address stored in association with the session ID Send to 1B.

S217:ウェブサーバ1Bは、セッション情報操作要求を受信し、セッション情報操作要求内のセッションIDを記憶しているか否かを判定する。   S217: The web server 1B receives the session information operation request and determines whether or not the session ID in the session information operation request is stored.

S219:ウェブサーバ1Bは、この場合、セッションIDを記憶していると判定し、そうしたなら、セッション情報操作要求内の操作内容に応じて、セッションIDに対応づけて記憶したセッション情報を操作する。   S219: In this case, the web server 1B determines that the session ID is stored. If so, the web server 1B operates the session information stored in association with the session ID in accordance with the operation content in the session information operation request.

S221:ウェブサーバ1Bは、操作結果を含む応答を負荷分散装置2に送信する。   S221: The web server 1B transmits a response including the operation result to the load balancer 2.

S223:負荷分散装置2は、応答を受信し、同様の応答をブラウザB2に送信する。 S231:ブラウザB2は、ユーザにより、ログアウトを目的とした入力を受ける。   S223: The load distribution apparatus 2 receives the response and transmits a similar response to the browser B2. S231: Browser B2 receives an input for logout by the user.

S233:ブラウザB2は、クッキー情報内のセッションID「WXYZ」および操作内容を含むログアウト要求を生成し、負荷分散装置2に送信する。   S233: The browser B2 generates a logout request including the session ID “WXYZ” in the cookie information and the operation content, and transmits the logout request to the load balancer 2.

S235:負荷分散装置2は、ログアウト要求を受信し、ログアウト要求内のセッションIDを含むログアウト要求を生成し、セッションIDに対応づけて記憶したアドレスを有するウェブサーバ1Bに送信する。   S235: The load distribution apparatus 2 receives the logout request, generates a logout request including the session ID in the logout request, and transmits the logout request to the web server 1B having the address stored in association with the session ID.

S237:ウェブサーバ1Bは、ログアウト要求を受信し、受信したログアウト要求内のセッションIDを含むログイン情報内のログインID「0111111111」を含むログイン情報削除要求をDBサーバ3に送信する。   S237: The web server 1B receives the logout request, and transmits a login information deletion request including the login ID “0111111111” in the login information including the session ID in the received logout request to the DB server 3.

なお、DBサーバ3は、送信されたログイン情報削除要求内のセッションIDを含むログイン情報を削除し、未登録とする。   The DB server 3 deletes the login information including the session ID in the transmitted login information deletion request and makes it unregistered.

S239:DBサーバ3は、削除した旨の応答をウェブサーバ1Aに送信する。   S239: The DB server 3 transmits a response to the effect of deletion to the web server 1A.

S241:ウェブサーバ1Bは、セッションIDとこれに対応づけられたセッション情報を削除する。   S241: The web server 1B deletes the session ID and the session information associated therewith.

S243:ウェブサーバ1Bは、ログアウトした旨の応答を負荷分散装置2に送信する。   S243: The web server 1B transmits a response to the effect of logout to the load balancer 2.

S245:負荷分散装置2は、応答を受信し、同様の応答をブラウザB2に送信する。 これにより、ブラウザB2とそのユーザは、本システムのサーバ側部分からログアウトしたこととなる。   S245: The load distribution apparatus 2 receives the response and transmits a similar response to the browser B2. As a result, the browser B2 and the user log out from the server side portion of the system.

このように、第1ウェブサーバ(1A)は、第1ウェブブラウザ(B1)から負荷分散装置(2)を介して送信されたログイン要求により第1ウェブブラウザ(B1)がログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報を記憶し、第1ウェブサーバ(1A)は、第1ウェブブラウザ(B1)から負荷分散装置(2)を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置(2)を介して第1ウェブブラウザ(B1)に送信し、第2ウェブサーバは、第2ウェブブラウザ(B2)から負荷分散装置(2)を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザ(B2)がログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバ(1A)に対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、第1ウェブサーバ(1A)は、送信されたセッション削除要求内のセッションIDを含むログイン情報削除要求をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報削除要求内のセッションIDを含むログイン情報を削除し、第1ウェブサーバ(1A)は、送信されたセッション削除要求内のセッションIDとセッション情報を削除し、第2ウェブサーバは、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザ(B2)から負荷分散装置(2)を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置(2)を介して第2ウェブブラウザ(B2)に送信するので、後発のログイン要求を優先することで、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、データベースサーバ(3)はセッション情報を操作しないので、高い能力をもつデータベースサーバ(3)が不要である。また、各ウェブサーバでセッション情報を記憶し同期する必要がないので、レスポンスを保ちつつ、ウェブサーバを増設でき、よって、セッション情報操作要求の増加に応じることができる。   As described above, if the first web browser (B1) logs in by the login request transmitted from the first web browser (B1) via the load balancer (2), the first web server (1A) And the session information are generated and stored in association with each other, the login information including the login ID, the session ID, and the own address in the login request is generated, and the login information is transmitted to the database server (3). The server (3) stores the transmitted login information, and the first web server (1A) operates in the session information operation request received from the first web browser (B1) via the load balancer (2). Depending on the content, the session information stored in association with the session ID in the session information operation request is operated. A response including the operation result is transmitted to the first web browser (B1) via the load balancer (2), and the second web server is transmitted from the second web browser (B2) via the load balancer (2). When the second web browser (B2) logs in by the login request including the login ID, the login information request including the login ID in the login request is transmitted to the database server (3), and the database server (3) The login information including the login ID in the transmitted login information request is transmitted to the second web server, and the second web server sends the first web server (1A) having the address in the transmitted login information to the second web server. The first web server (1A) transmits a session deletion request including the session ID in the login information, and the first web server (1A) The login information deletion request including the session ID in the deletion request is transmitted to the database server (3). The database server (3) deletes the login information including the session ID in the transmitted login information deletion request, and The 1 web server (1A) deletes the session ID and the session information in the transmitted session deletion request, and the second web server generates and stores the session ID and the session information in association with each other. Login information including the login ID, the session ID and its own address, and transmitting the login information to the database server (3). The database server (3) stores the transmitted login information, The web server passes through the load balancer (2) from the second web browser (B2). The session information stored in association with the session ID in the session information operation request is operated according to the operation content in the received session information operation request, and a response including the operation result is sent via the load balancer (2). Since it is transmitted to the second web browser (B2), it is not necessary to store and synchronize session information in each web server while giving priority to subsequent login requests, preventing double logins, and database. Since the server (3) does not operate the session information, the database server (3) having a high capability is not necessary. Further, since there is no need to store and synchronize the session information in each web server, it is possible to increase the number of web servers while maintaining a response, and thus it is possible to respond to an increase in requests for session information operations.

図6、図7は、それぞれ本システムにおいて先発のログイン要求を優先するときの動作例を示すシーケンス図の前半部、後半部である。   FIGS. 6 and 7 are a first half and a second half of a sequence diagram showing an operation example when priority is given to a previous login request in this system, respectively.

これらの図は、ウェブサーバで障害が発生せず、正常処理が行われたときのものである。   These figures are obtained when normal processing is performed without any failure in the web server.

まず、図6を参照して、シーケンスの前半部を説明する。   First, the first half of the sequence will be described with reference to FIG.

まず、図4に示したステップS163までのシーケンスが実行される。   First, the sequence up to step S163 shown in FIG. 4 is executed.

S301:ウェブサーバ1Bは、受信したログイン情報内のアドレスを有するウェブサーバ1Aに対し、受信したログイン情報内のセッションID「ABCD」を含むセッション有無通知要求を送信する。   S301: The web server 1B transmits a session presence / absence notification request including the session ID “ABCD” in the received login information to the web server 1A having the address in the received login information.

S303:ウェブサーバ1Aは、セッション有無通知要求を受信し、受信したセッション有無通知要求内のセッションIDを記憶しているか否かを判定する。   S303: The web server 1A receives the session presence / absence notification request, and determines whether or not the session ID in the received session presence / absence notification request is stored.

S305:ウェブサーバ1Aは、この場合、セッションIDを記憶していると判定し、そうしたなら、セッションIDを記憶している旨の応答をウェブサーバ1Bに送信する。   S305: In this case, the web server 1A determines that the session ID is stored, and if so, transmits a response to the effect that the session ID is stored to the web server 1B.

S307:ウェブサーバ1Bは、応答を受信し、セッションIDを記憶している旨の応答か否かを判定する。   S307: The web server 1B receives the response and determines whether or not the response indicates that the session ID is stored.

S309:ウェブサーバ1Bは、セッションIDを記憶している旨の応答であったなら、負荷分散装置2にエラー応答を送信する。   S309: If the response is that the session ID is stored, the web server 1B transmits an error response to the load balancer 2.

S311:負荷分散装置2は、エラー応答を受信し、同様のエラー応答をブラウザB2に送信する。   S311: The load distribution apparatus 2 receives an error response and transmits a similar error response to the browser B2.

これにより、ブラウザB2とそのユーザは、本システムのサーバ側部分にログインすることができない。すなわち、2重ログインが防止されたこととなる。   As a result, the browser B2 and its user cannot log in to the server side portion of the system. That is, double login is prevented.

次に、図7を参照して、シーケンスの後半部を説明する。   Next, the second half of the sequence will be described with reference to FIG.

例えば、図5に示したステップS191〜S201までのシーケンスが実行される。   For example, the sequence from step S191 to S201 shown in FIG. 5 is executed.

ステップS331〜S345:次に、ブラウザB1、負荷分散装置2、ウェブサーバ1AおよびDBサーバ3が、図5のステップS231〜S245で、ブラウザB2、負荷分散装置2、ウェブサーバ1BおよびDBサーバ3が実行したようなシーケンスを実行する。   Steps S331 to S345: Next, the browser B1, the load balancer 2, the web server 1A, and the DB server 3 are changed to the browser B2, the load balancer 2, the web server 1B, and the DB server 3 in steps S231 to S245 of FIG. Run the sequence as you did it.

これにより、ブラウザB1とそのユーザは、本システムのサーバ側部分からログアウトしたこととなる。   Thereby, the browser B1 and the user log out from the server side portion of the system.

このように、第1ウェブサーバ(1A)は、第1ウェブブラウザ(B1)から負荷分散装置(2)を介して送信されたログイン要求により第1ウェブブラウザ(B1)がログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報を記憶し、第1ウェブサーバ(1A)は、第1ウェブブラウザ(B1)から負荷分散装置(2)を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置(2)を介して第1ウェブブラウザ(B1)に送信し、第2ウェブサーバは、第2ウェブブラウザ(B2)から負荷分散装置(2)を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザ(B2)がログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバ(1A)に対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、第1ウェブサーバ(1A)は、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していると判定したなら、セッションIDを記憶している旨の応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶している旨の応答が送信されたなら、負荷分散装置(2)を介して、第2ウェブブラウザ(B2)にエラー応答を送信するので、先発のログイン要求を優先することで、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、データベースサーバ(3)はセッション情報を操作しないので、高い能力をもつデータベースサーバ(3)が不要である。また、各ウェブサーバでセッション情報を記憶し同期する必要がないので、レスポンスを保ちつつ、ウェブサーバを増設でき、よって、セッション情報操作要求の増加に応じることができる。   As described above, if the first web browser (B1) logs in by the login request transmitted from the first web browser (B1) via the load balancer (2), the first web server (1A) And the session information are generated and stored in association with each other, the login information including the login ID, the session ID, and the own address in the login request is generated, and the login information is transmitted to the database server (3). The server (3) stores the transmitted login information, and the first web server (1A) operates in the session information operation request received from the first web browser (B1) via the load balancer (2). Depending on the content, the session information stored in association with the session ID in the session information operation request is operated. A response including the operation result is transmitted to the first web browser (B1) via the load balancer (2), and the second web server is transmitted from the second web browser (B2) via the load balancer (2). When the second web browser (B2) logs in by the login request including the login ID, the login information request including the login ID in the login request is transmitted to the database server (3), and the database server (3) The login information including the login ID in the transmitted login information request is transmitted to the second web server, and the second web server sends the first web server (1A) having the address in the transmitted login information to the second web server. The first web server (1A) transmits a session existence notification request including the session ID in the login information, and the first web server (1A) It is determined whether or not the session ID in the session presence / absence notification request is stored, and if it is determined that the session ID is stored, a response indicating that the session ID is stored is transmitted to the second web server, If a response indicating that the session ID is stored is transmitted, the second web server transmits an error response to the second web browser (B2) via the load balancer (2). By prioritizing requests, there is no need to store and synchronize session information on each web server while preventing double login, and the database server (3) does not manipulate session information, so it has high capability. The database server (3) is unnecessary. Further, since there is no need to store and synchronize the session information in each web server, it is possible to increase the number of web servers while maintaining a response, and thus it is possible to respond to an increase in requests for session information operations.

図8、図9は、それぞれ本システムにおいて後発のログイン要求を優先するときの動作例を示すシーケンス図の前半部、後半部である。   8 and 9 are a first half and a second half of a sequence diagram showing an operation example when priority is given to a subsequent login request in this system, respectively.

これらの図は、ウェブサーバで障害が発生し、異常処理が行われたときのものである。 まず、図8を参照して、シーケンスの前半部を説明する。   These figures are taken when a failure occurs in the web server and abnormal processing is performed. First, the first half of the sequence will be described with reference to FIG.

まず、図4、図6に示したステップS143までのシーケンスが実行される。   First, the sequence up to step S143 shown in FIGS. 4 and 6 is executed.

S401:ウェブサーバ1Aで障害は発生し、ウェブサーバ1Aに記憶されたセッションIDとこれに対応づけられたセッション情報が消滅する。   S401: A failure occurs in the web server 1A, and the session ID stored in the web server 1A and the session information associated therewith disappear.

これにより、ブラウザB1とそのユーザは、本システムのサーバ側部分からログアウトしたこととなる。   Thereby, the browser B1 and the user log out from the server side portion of the system.

S411:ブラウザB1は、ユーザにより、セッション情報に対する操作を目的とした入力を受ける。   S411: Browser B1 receives an input for an operation for session information by a user.

S413:ブラウザB1は、クッキー情報内のセッションID「ABCD」および操作内容を含むセッション情報操作要求を生成し、負荷分散装置2に送信する。   S413: The browser B1 generates a session information operation request including the session ID “ABCD” in the cookie information and the operation content, and transmits it to the load balancer 2.

S415:負荷分散装置2は、セッション情報操作要求を受信し、セッション情報操作要求内のセッションIDおよび操作内容を含むセッション情報操作要求を生成し、セッションIDに対応づけて記憶したアドレスを有するウェブサーバ1Aに送信する。   S415: The load distribution apparatus 2 receives the session information operation request, generates a session information operation request including the session ID and the operation content in the session information operation request, and has an address stored in association with the session ID Send to 1A.

S417:ウェブサーバ1Aは、セッション情報操作要求を受信し、セッション情報操作要求内のセッションIDを記憶しているか否かを判定する。   S417: The web server 1A receives the session information operation request and determines whether or not the session ID in the session information operation request is stored.

S419:ウェブサーバ1Aは、この場合、セッションIDは消滅しているので、負荷分散装置2にエラー応答を送信する。   S419: Since the session ID has disappeared in this case, the web server 1A transmits an error response to the load balancer 2.

S421:負荷分散装置2は、エラー応答を受信し、同様のエラー応答をブラウザB1に送信する。   S421: The load balancer 2 receives an error response and transmits a similar error response to the browser B1.

次に、図4、図6に示したステップS151〜S165までのシーケンスが実行される。   Next, the sequence of steps S151 to S165 shown in FIGS. 4 and 6 is executed.

S431:ウェブサーバ1Aは、セッション削除要求を受信し、受信したセッション削除要求内のセッションIDを記憶しているか否かを判定する。この場合、セッションIDは消滅しているので、セッションIDを記憶していないと判定する。   S431: The web server 1A receives the session deletion request and determines whether or not the session ID in the received session deletion request is stored. In this case, since the session ID has disappeared, it is determined that the session ID is not stored.

S433:ウェブサーバ1Aは、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の応答をウェブサーバ1Bに送信する。   S433: If it is determined that the web server 1A does not store the session ID, the web server 1A transmits a response indicating that the session ID is not stored to the web server 1B.

次に、図9を参照して、シーケンスの後半部を説明する。   Next, the second half of the sequence will be described with reference to FIG.

まず、セッションIDを記憶していない旨の応答が送信されたので、図4に示したステップS175〜S183までのシーケンスが実行される。なお、DBサーバ3は、ステップS177で送信されたログイン情報をログイン情報記憶部32に記憶させる前に、ログイン情報内のセッションID「ABCD」を含むログイン情報を削除する。   First, since a response indicating that the session ID is not stored is transmitted, the sequence from steps S175 to S183 shown in FIG. 4 is executed. The DB server 3 deletes the login information including the session ID “ABCD” in the login information before storing the login information transmitted in step S177 in the login information storage unit 32.

次に、図5に示したステップS211〜S245までのシーケンスが実行される。   Next, the sequence from step S211 to S245 shown in FIG. 5 is executed.

このように、第1ウェブサーバ(1A)は、第1ウェブブラウザ(B1)から負荷分散装置(2)を介して送信されたログイン要求により第1ウェブブラウザ(B1)がログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報を記憶し、第1ウェブサーバ(1A)は、第1ウェブブラウザ(B1)から負荷分散装置(2)を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置(2)を介して第1ウェブブラウザ(B1)に送信し、第2ウェブサーバは、第2ウェブブラウザ(B2)から負荷分散装置(2)を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザ(B2)がログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバ(1A)に対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、第1ウェブサーバ(1A)は、送信されたセッション削除要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の判定結果を含む応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザ(B2)から負荷分散装置(2)を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置(2)を介して第2ウェブブラウザ(B2)に送信するので、後発のログイン要求を優先することで、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、データベースサーバ(3)はセッション情報を操作しないので、高い能力をもつデータベースサーバ(3)が不要である。また、各ウェブサーバでセッション情報を記憶し同期する必要がないので、レスポンスを保ちつつ、ウェブサーバを増設でき、よって、セッション情報操作要求の増加に応じることができる。   As described above, if the first web browser (B1) logs in by the login request transmitted from the first web browser (B1) via the load balancer (2), the first web server (1A) And the session information are generated and stored in association with each other, the login information including the login ID, the session ID, and the own address in the login request is generated, and the login information is transmitted to the database server (3). The server (3) stores the transmitted login information, and the first web server (1A) operates in the session information operation request received from the first web browser (B1) via the load balancer (2). Depending on the content, the session information stored in association with the session ID in the session information operation request is operated. A response including the operation result is transmitted to the first web browser (B1) via the load balancer (2), and the second web server is transmitted from the second web browser (B2) via the load balancer (2). When the second web browser (B2) logs in by the login request including the login ID, the login information request including the login ID in the login request is transmitted to the database server (3), and the database server (3) The login information including the login ID in the transmitted login information request is transmitted to the second web server, and the second web server sends the first web server (1A) having the address in the transmitted login information to the second web server. The first web server (1A) transmits a session deletion request including the session ID in the login information, and the first web server (1A) It is determined whether or not the session ID in the deletion request is stored, and if it is determined that the session ID is not stored, a response including a determination result indicating that the session ID is not stored is sent to the second web server. When the response indicating that the session ID is not stored is transmitted, the second web server generates the session ID and the session information and stores them in association with each other, and stores the login ID in the login request, the session The login information including the ID and its own address is generated, and the login information is transmitted to the database server (3). The database server (3) deletes the login information including the session ID in the transmitted login information, The transmitted login information is stored, and the second web server distributes the load from the second web browser (B2). In response to the operation content in the session information operation request received via the device (2), the session information stored in association with the session ID in the session information operation request is operated, and a response including the operation result is sent to the load distribution device. (2) is sent to the second web browser (B2), so it is necessary to store and synchronize the session information in each web server while preventing double login by giving priority to subsequent login requests. In addition, since the database server (3) does not operate the session information, the database server (3) having high capability is unnecessary. Further, since there is no need to store and synchronize the session information in each web server, it is possible to increase the number of web servers while maintaining a response, and thus it is possible to respond to an increase in requests for session information operations.

図10、図11は、それぞれ本システムにおいて先発のログイン要求を優先するときの動作例を示すシーケンス図の前半部、後半部である。   FIGS. 10 and 11 are a first half and a second half of a sequence diagram showing an operation example when priority is given to a previous login request in this system, respectively.

これらの図は、ウェブサーバで障害が発生し、異常処理が行われたときのものである。 まず、図10を参照して、シーケンスの前半部を説明する。   These figures are taken when a failure occurs in the web server and abnormal processing is performed. First, the first half of the sequence will be described with reference to FIG.

まず、図8に示したステップS163までのシーケンスが実行される。   First, the sequence up to step S163 shown in FIG. 8 is executed.

S301:ウェブサーバ1Bは、受信したログイン情報内のアドレスを有するウェブサーバ1Aに対し、受信したログイン情報内のセッションID「ABCD」を含むセッション有無通知要求を送信する。   S301: The web server 1B transmits a session presence / absence notification request including the session ID “ABCD” in the received login information to the web server 1A having the address in the received login information.

S303:ウェブサーバ1Aは、セッション有無通知要求を受信し、受信したセッション有無通知要求内のセッションIDを記憶しているか否かを判定する。   S303: The web server 1A receives the session presence / absence notification request, and determines whether or not the session ID in the received session presence / absence notification request is stored.

S304:ウェブサーバ1Aは、この場合、セッションIDは消滅しているので、セッションIDを記憶していない旨の応答をウェブサーバ1Bに送信する。   S304: Since the session ID has disappeared in this case, the web server 1A transmits a response to the effect that the session ID is not stored to the web server 1B.

次に、図11を参照して、シーケンスの後半部を説明する。   Next, the latter half of the sequence will be described with reference to FIG.

まず、セッションIDを記憶していない旨の応答が送信されたので、図4に示したステップS175〜S183までのシーケンスが実行される。なお、DBサーバ3は、ステップS177で送信されたログイン情報をログイン情報記憶部32に記憶させる前に、ログイン情報内のセッションID「ABCD」を含むログイン情報を削除する。   First, since a response indicating that the session ID is not stored is transmitted, the sequence from steps S175 to S183 shown in FIG. 4 is executed. The DB server 3 deletes the login information including the session ID “ABCD” in the login information before storing the login information transmitted in step S177 in the login information storage unit 32.

次に、図5、図9に示したステップS211〜S245までのシーケンスが実行される。   Next, the sequence of steps S211 to S245 shown in FIGS. 5 and 9 is executed.

このように、第1ウェブサーバ(1A)は、第1ウェブブラウザ(B1)から負荷分散装置(2)を介して送信されたログイン要求により第1ウェブブラウザ(B1)がログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報を記憶し、第1ウェブサーバ(1A)は、第1ウェブブラウザ(B1)から負荷分散装置(2)を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置(2)を介して第1ウェブブラウザ(B1)に送信し、第2ウェブサーバは、第2ウェブブラウザ(B2)から負荷分散装置(2)を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザ(B2)がログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバ(1A)に対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、第1ウェブサーバ(1A)は、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の応答を第2ウェブサーバに送信し、第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバ(3)に送信し、データベースサーバ(3)は、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、第2ウェブサーバは、第2ウェブブラウザ(B2)から負荷分散装置(2)を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置(2)を介して第2ウェブブラウザ(B2)に送信するので、先発のログイン要求を優先するにしても、そのログイン要求を受信したウェブサーバに記憶されたセッションIDおよびセッション情報などがウェブサーバの障害などで消滅した場合には、後発のログイン要求を許可することで、2重のログインを防止しつつ、各ウェブサーバでセッション情報を記憶し同期する必要がなく、また、データベースサーバ(3)はセッション情報を操作しないので、高い能力をもつデータベースサーバ(3)が不要である。また、各ウェブサーバでセッション情報を記憶し同期する必要がないので、レスポンスを保ちつつ、ウェブサーバを増設でき、よって、セッション情報操作要求の増加に応じることができる。   As described above, if the first web browser (B1) logs in by the login request transmitted from the first web browser (B1) via the load balancer (2), the first web server (1A) And the session information are generated and stored in association with each other, the login information including the login ID, the session ID, and the own address in the login request is generated, and the login information is transmitted to the database server (3). The server (3) stores the transmitted login information, and the first web server (1A) operates in the session information operation request received from the first web browser (B1) via the load balancer (2). Depending on the content, the session information stored in association with the session ID in the session information operation request is operated. A response including the operation result is transmitted to the first web browser (B1) via the load balancer (2), and the second web server is transmitted from the second web browser (B2) via the load balancer (2). When the second web browser (B2) logs in by the login request including the login ID, the login information request including the login ID in the login request is transmitted to the database server (3), and the database server (3) The login information including the login ID in the transmitted login information request is transmitted to the second web server, and the second web server sends the first web server (1A) having the address in the transmitted login information to the second web server. The first web server (1A) transmits a session existence notification request including the session ID in the login information, and the first web server (1A) If it is determined whether or not the session ID in the request for notification of presence / absence of the session is stored, and it is determined that the session ID is not stored, a response indicating that the session ID is not stored is transmitted to the second web server, When a response indicating that the session ID is not stored is transmitted, the second web server generates a session ID and session information and stores them in association with each other, and stores the login ID in the login request, the session ID, and itself. Is generated, and the login information is transmitted to the database server (3). The database server (3) deletes the login information including the session ID in the transmitted login information and is transmitted. The login information is stored, and the second web server loads the load balancer (from the second web browser (B2)). 2) The session information stored in association with the session ID in the session information operation request is operated according to the operation content in the session information operation request received via 2), and a response including the operation result is sent to the load balancer (2 ) To the second web browser (B2), even if priority is given to the previous login request, the session ID and session information stored in the web server that has received the login request is a failure of the web server. For example, by allowing subsequent login requests, there is no need to store and synchronize session information on each web server while allowing double login, and the database server (3) Since the session information is not manipulated, the database server (3) having high capability is not required. Further, since there is no need to store and synchronize the session information in each web server, it is possible to increase the number of web servers while maintaining a response, and thus it is possible to respond to an increase in requests for session information operations.

なお、本システムやその構成要素である各装置をコンピュータにより構成するためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に格納し、陳列などして流通させたり、当該コンピュータプログラムをインターネットなどの通信網を介して伝送させてもよい。   A computer program for configuring the system and each device constituting the system by a computer is stored in a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, or a magnetic tape and displayed. The computer program may be distributed via a communication network such as the Internet.

本実施の形態に係るウェブシステムの全体構成を示す図である。It is a figure showing the whole web system composition concerning this embodiment. 図2(a)は、DBサーバ3が備えた認証情報記憶部31を示す図であり、図2(b)は、DBサーバ3が備えたログイン情報記憶部32を示す図である。FIG. 2A is a diagram illustrating the authentication information storage unit 31 provided in the DB server 3, and FIG. 2B is a diagram illustrating the login information storage unit 32 provided in the DB server 3. 負荷分散装置2から送信されたログイン要求を受信したウェブサーバ1の動作を示すフローチャートである。4 is a flowchart showing an operation of the web server 1 that has received the login request transmitted from the load balancer 2. 後発のログイン要求を優先し、正常処理が行われたときの動作例を示すシーケンス図の前半部である。It is the first half of a sequence diagram showing an operation example when normal processing is performed with priority given to a subsequent login request. 後発のログイン要求を優先し、正常処理が行われたときの動作例を示すシーケンス図の後半部である。It is the latter half part of the sequence diagram which shows the operation example when priority is given to the subsequent login request and normal processing is performed. 先発のログイン要求を優先し、正常処理が行われたときの動作例を示すシーケンス図の前半部である。FIG. 10 is a first half of a sequence diagram illustrating an operation example when normal processing is performed with priority given to a previous login request. 先発のログイン要求を優先し、正常処理が行われたときの動作例を示すシーケンス図の後半部である。It is the latter half part of the sequence diagram which shows the operation example when priority is given to the previous login request and normal processing is performed. 後発のログイン要求を優先し、異常処理が行われたときの動作例を示すシーケンス図の前半部である。It is the first half of a sequence diagram showing an operation example when an abnormal process is performed with priority given to a subsequent login request. 後発のログイン要求を優先し、異常処理が行われたときの動作例を示すシーケンス図の後半部である。It is the latter half part of the sequence diagram which shows the operation example when priority is given to a subsequent login request and an abnormal process is performed. 先発のログイン要求を優先し、異常処理が行われたときの動作例を示すシーケンス図の前半部である。It is the first half of a sequence diagram showing an example of operation when an abnormal process is performed with priority given to a previous login request. 先発のログイン要求を優先し、異常処理が行われたときの動作例を示すシーケンス図の後半部である。It is the latter half part of the sequence diagram which shows the operation example when priority is given to the first login request and an abnormal process is performed.

符号の説明Explanation of symbols

1A、1B…ウェブサーバ
2…負荷分散装置
3…DBサーバ
31…認証情報記憶部
32…ログイン情報記憶部
B1、B2…ブラウザ
N…通信網
AD1…ウェブサーバ1Aのアドレス
AD2…ウェブサーバ1Bのアドレス
DESCRIPTION OF SYMBOLS 1A, 1B ... Web server 2 ... Load distribution apparatus 3 ... DB server 31 ... Authentication information storage part 32 ... Login information storage part B1, B2 ... Browser N ... Communication network AD1 ... Address of web server 1A AD2 ... Address of web server 1B

Claims (8)

第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムであって、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、
第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、
第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを含むログイン情報削除要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報削除要求内のセッションIDを含むログイン情報を削除し、
第1ウェブサーバは、送信されたセッション削除要求内のセッションIDとセッション情報を削除し、
第2ウェブサーバは、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信する
ことを特徴とするウェブシステム。
First web browser and second web browser, load balancer connected to first web browser and second web browser, first web server and second web server connected to load balancer, first web server and first web browser 2. A web system including a database server connected to a web server,
The first web server generates a session ID and session information and stores them in association with each other when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Login information including the login ID, the session ID and its own address in the server, and sending the login information to the database server,
The database server stores the transmitted login information,
The first web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. , Send a response including the operation result to the first web browser via the load balancer,
If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server sends a login information request including the login ID in the login request. To the database server,
The database server transmits login information including the login ID in the transmitted login information request to the second web server,
The second web server transmits a session deletion request including the session ID in the login information to the first web server having the address in the transmitted login information,
The first web server transmits a login information deletion request including the session ID in the transmitted session deletion request to the database server,
The database server deletes the login information including the session ID in the transmitted login information deletion request,
The first web server deletes the session ID and session information in the transmitted session deletion request,
The second web server generates a session ID and session information and stores them in association with each other, generates login information including a login ID in the login request, the session ID and its own address, and stores the login information in the database server To
The database server stores the transmitted login information,
The second web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the second web browser via the load balancer. And sending a response including the operation result to the second web browser via the load balancer.
第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムであって、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、
第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、
第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していると判定したなら、セッションIDを記憶している旨の応答を第2ウェブサーバに送信し、
第2ウェブサーバは、セッションIDを記憶している旨の応答が送信されたなら、負荷分散装置を介して、第2ウェブブラウザにエラー応答を送信する
ことを特徴とするウェブシステム。
First web browser and second web browser, load balancer connected to first web browser and second web browser, first web server and second web server connected to load balancer, first web server and first web browser 2. A web system including a database server connected to a web server,
The first web server generates a session ID and session information and stores them in association with each other when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Login information including the login ID, the session ID and its own address in the server, and sending the login information to the database server,
The database server stores the transmitted login information,
The first web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. , Send a response including the operation result to the first web browser via the load balancer,
If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server sends a login information request including the login ID in the login request. To the database server,
The database server transmits login information including the login ID in the transmitted login information request to the second web server,
The second web server transmits a session presence / absence notification request including the session ID in the login information to the first web server having the address in the transmitted login information,
The first web server determines whether or not the session ID in the transmitted session presence / absence notification request is stored, and if it is determined that the session ID is stored, a response indicating that the session ID is stored To the second web server,
The second web server transmits an error response to the second web browser via the load balancer when a response indicating that the session ID is stored is transmitted.
第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムであって、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、
第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、 第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の判定結果を含む応答を第2ウェブサーバに送信し、
第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信する
ことを特徴とするウェブシステム。
First web browser and second web browser, load balancer connected to first web browser and second web browser, first web server and second web server connected to load balancer, first web server and first web browser 2. A web system including a database server connected to a web server,
The first web server generates a session ID and session information and stores them in association with each other when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Login information including the login ID, the session ID and its own address in the server, and sending the login information to the database server,
The database server stores the transmitted login information,
The first web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. , Send a response including the operation result to the first web browser via the load balancer,
If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server sends a login information request including the login ID in the login request. To the database server,
The database server transmits login information including the login ID in the transmitted login information request to the second web server,
The second web server transmits a session deletion request including the session ID in the login information to the first web server having the address in the transmitted login information, and the first web server transmits the transmitted session deletion It is determined whether or not the session ID in the request is stored. If it is determined that the session ID is not stored, a response including a determination result indicating that the session ID is not stored is transmitted to the second web server. ,
When a response indicating that the session ID is not stored is transmitted, the second web server generates a session ID and session information and stores them in association with each other, and stores the login ID in the login request, the session ID, and itself. Generate login information including the address of the URL, send the login information to the database server,
The database server deletes the login information including the session ID in the transmitted login information, stores the transmitted login information,
The second web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the second web browser via the load balancer. And sending a response including the operation result to the second web browser via the load balancer.
第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムであって、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、
第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、
第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の応答を第2ウェブサーバに送信し、
第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信する
ことを特徴とするウェブシステム。
First web browser and second web browser, load balancer connected to first web browser and second web browser, first web server and second web server connected to load balancer, first web server and first web browser 2. A web system including a database server connected to a web server,
The first web server generates a session ID and session information and stores them in association with each other when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Login information including the login ID, the session ID and its own address in the server, and sending the login information to the database server,
The database server stores the transmitted login information,
The first web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. , Send a response including the operation result to the first web browser via the load balancer,
If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server sends a login information request including the login ID in the login request. To the database server,
The database server transmits login information including the login ID in the transmitted login information request to the second web server,
The second web server transmits a session presence / absence notification request including the session ID in the login information to the first web server having the address in the transmitted login information,
The first web server determines whether or not the session ID in the transmitted session presence / absence notification request is stored, and if it is determined that the session ID is not stored, a response indicating that the session ID is not stored To the second web server,
When a response indicating that the session ID is not stored is transmitted, the second web server generates a session ID and session information and stores them in association with each other, and stores the login ID in the login request, the session ID, and itself. Generate login information including the address of the URL, send the login information to the database server,
The database server deletes the login information including the session ID in the transmitted login information, stores the transmitted login information,
The second web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the second web browser via the load balancer. And sending a response including the operation result to the second web browser via the load balancer.
第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムにおける情報処理方法であって、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、
第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、
第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを含むログイン情報削除要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報削除要求内のセッションIDを含むログイン情報を削除し、
第1ウェブサーバは、送信されたセッション削除要求内のセッションIDとセッション情報を削除し、
第2ウェブサーバは、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信する
ことを特徴とするウェブシステムにおける情報処理方法。
First web browser and second web browser, load balancer connected to first web browser and second web browser, first web server and second web server connected to load balancer, first web server and first web browser 2. An information processing method in a web system including a database server connected to a web server,
The first web server generates a session ID and session information and stores them in association with each other when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Login information including the login ID, the session ID and its own address in the server, and sending the login information to the database server,
The database server stores the transmitted login information,
The first web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. , Send a response including the operation result to the first web browser via the load balancer,
If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server sends a login information request including the login ID in the login request. To the database server,
The database server transmits login information including the login ID in the transmitted login information request to the second web server,
The second web server transmits a session deletion request including the session ID in the login information to the first web server having the address in the transmitted login information,
The first web server transmits a login information deletion request including the session ID in the transmitted session deletion request to the database server,
The database server deletes the login information including the session ID in the transmitted login information deletion request,
The first web server deletes the session ID and session information in the transmitted session deletion request,
The second web server generates a session ID and session information and stores them in association with each other, generates login information including a login ID in the login request, the session ID and its own address, and stores the login information in the database server To
The database server stores the transmitted login information,
The second web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the second web browser via the load balancer. A response including an operation result is transmitted to a second web browser via a load balancer. An information processing method in a web system, comprising:
第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムにおける情報処理方法であって、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、
第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、
第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していると判定したなら、セッションIDを記憶している旨の応答を第2ウェブサーバに送信し、
第2ウェブサーバは、セッションIDを記憶している旨の応答が送信されたなら、負荷分散装置を介して、第2ウェブブラウザにエラー応答を送信する
ことを特徴とするウェブシステムにおける情報処理方法。
First web browser and second web browser, load balancer connected to first web browser and second web browser, first web server and second web server connected to load balancer, first web server and first web browser 2. An information processing method in a web system including a database server connected to a web server,
The first web server generates a session ID and session information and stores them in association with each other when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Login information including the login ID, the session ID and its own address in the server, and sending the login information to the database server,
The database server stores the transmitted login information,
The first web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. , Send a response including the operation result to the first web browser via the load balancer,
If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server sends a login information request including the login ID in the login request. To the database server,
The database server transmits login information including the login ID in the transmitted login information request to the second web server,
The second web server transmits a session presence / absence notification request including the session ID in the login information to the first web server having the address in the transmitted login information,
The first web server determines whether or not the session ID in the transmitted session presence / absence notification request is stored, and if it is determined that the session ID is stored, a response indicating that the session ID is stored To the second web server,
The second web server transmits an error response to the second web browser via the load balancer when a response indicating that the session ID is stored is transmitted. .
第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムにおける情報処理方法であって、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、
第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション削除要求を送信し、 第1ウェブサーバは、送信されたセッション削除要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の判定結果を含む応答を第2ウェブサーバに送信し、
第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信する
ことを特徴とするウェブシステムにおける情報処理方法。
First web browser and second web browser, load balancer connected to first web browser and second web browser, first web server and second web server connected to load balancer, first web server and first web browser 2. An information processing method in a web system including a database server connected to a web server,
The first web server generates a session ID and session information and stores them in association with each other when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Login information including the login ID, the session ID and its own address in the server, and sending the login information to the database server,
The database server stores the transmitted login information,
The first web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. , Send a response including the operation result to the first web browser via the load balancer,
If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server sends a login information request including the login ID in the login request. To the database server,
The database server transmits login information including the login ID in the transmitted login information request to the second web server,
The second web server transmits a session deletion request including the session ID in the login information to the first web server having the address in the transmitted login information, and the first web server transmits the transmitted session deletion It is determined whether or not the session ID in the request is stored. If it is determined that the session ID is not stored, a response including a determination result indicating that the session ID is not stored is transmitted to the second web server. ,
When a response indicating that the session ID is not stored is transmitted, the second web server generates a session ID and session information and stores them in association with each other, and stores the login ID in the login request, the session ID, and itself. Generate login information including the address of the URL, send the login information to the database server,
The database server deletes the login information including the session ID in the transmitted login information, stores the transmitted login information,
The second web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the second web browser via the load balancer. A response including an operation result is transmitted to a second web browser via a load balancer. An information processing method in a web system, comprising:
第1ウェブブラウザおよび第2ウェブブラウザ、第1ウェブブラウザおよび第2ウェブブラウザに接続された負荷分散装置、負荷分散装置に接続された第1ウェブサーバおよび第2ウェブサーバ、第1ウェブサーバおよび第2ウェブサーバに接続されたデータベースサーバを含むウェブシステムにおける情報処理方法であって、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して送信されたログイン要求により第1ウェブブラウザがログインしたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、セッションIDおよび自身のアドレスとを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報を記憶し、
第1ウェブサーバは、第1ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第1ウェブブラウザに送信し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して送信された、前記ログインIDを含むログイン要求により第2ウェブブラウザがログインしたなら、ログイン要求内のログインIDを含むログイン情報要求をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報要求内のログインIDを含むログイン情報を第2ウェブサーバに送信し、
第2ウェブサーバは、送信されたログイン情報内のアドレスを有する第1ウェブサーバに対し、当該ログイン情報内のセッションIDを含むセッション有無通知要求を送信し、
第1ウェブサーバは、送信されたセッション有無通知要求内のセッションIDを記憶しているか否かを判定し、セッションIDを記憶していないと判定したなら、セッションIDを記憶していない旨の応答を第2ウェブサーバに送信し、
第2ウェブサーバは、セッションIDを記憶していない旨の応答が送信されたなら、セッションIDとセッション情報を生成するとともに互いに対応づけて記憶し、ログイン要求内のログインID、当該セッションIDおよび自身のアドレスを含むログイン情報を生成し、当該ログイン情報をデータベースサーバに送信し、
データベースサーバは、送信されたログイン情報内のセッションIDを含むログイン情報を削除し、送信されたログイン情報を記憶し、
第2ウェブサーバは、第2ウェブブラウザから負荷分散装置を介して受信したセッション情報操作要求内の操作内容に応じて、セッション情報操作要求内のセッションIDに対応づけて記憶したセッション情報を操作し、操作結果を含む応答を負荷分散装置を介して第2ウェブブラウザに送信する
ことを特徴とするウェブシステムにおける情報処理方法。
First web browser and second web browser, load balancer connected to first web browser and second web browser, first web server and second web server connected to load balancer, first web server and first web browser 2. An information processing method in a web system including a database server connected to a web server,
The first web server generates a session ID and session information and stores them in association with each other when the first web browser logs in by a login request transmitted from the first web browser via the load balancer. Login information including the login ID, the session ID and its own address in the server, and sending the login information to the database server,
The database server stores the transmitted login information,
The first web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the first web browser via the load balancer. , Send a response including the operation result to the first web browser via the load balancer,
If the second web browser logs in by the login request including the login ID transmitted from the second web browser via the load balancer, the second web server sends a login information request including the login ID in the login request. To the database server,
The database server transmits login information including the login ID in the transmitted login information request to the second web server,
The second web server transmits a session presence / absence notification request including the session ID in the login information to the first web server having the address in the transmitted login information,
The first web server determines whether or not the session ID in the transmitted session presence / absence notification request is stored, and if it is determined that the session ID is not stored, a response indicating that the session ID is not stored To the second web server,
When a response indicating that the session ID is not stored is transmitted, the second web server generates a session ID and session information and stores them in association with each other, and stores the login ID in the login request, the session ID, and itself. Generate login information including the address of the URL, send the login information to the database server,
The database server deletes the login information including the session ID in the transmitted login information, stores the transmitted login information,
The second web server operates the session information stored in association with the session ID in the session information operation request according to the operation content in the session information operation request received from the second web browser via the load balancer. A response including an operation result is transmitted to a second web browser via a load balancer. An information processing method in a web system, comprising:
JP2008068170A 2008-03-17 2008-03-17 Web system and information processing method in web system Active JP5117897B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008068170A JP5117897B2 (en) 2008-03-17 2008-03-17 Web system and information processing method in web system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008068170A JP5117897B2 (en) 2008-03-17 2008-03-17 Web system and information processing method in web system

Publications (2)

Publication Number Publication Date
JP2009223674A JP2009223674A (en) 2009-10-01
JP5117897B2 true JP5117897B2 (en) 2013-01-16

Family

ID=41240368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008068170A Active JP5117897B2 (en) 2008-03-17 2008-03-17 Web system and information processing method in web system

Country Status (1)

Country Link
JP (1) JP5117897B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4944278B2 (en) * 2010-06-29 2012-05-30 かもめエンジニアリング株式会社 Access control method, access control apparatus, and access control program
CN107995970A (en) * 2015-04-17 2018-05-04 国际烟草营销服务股份公司 Method and apparatus for providing user interface

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4716767B2 (en) * 2005-03-25 2011-07-06 沖電気工業株式会社 Login control system and login control method
KR100727057B1 (en) * 2005-06-22 2007-06-12 엔에이치엔(주) Method And System For Checking Message Status

Also Published As

Publication number Publication date
JP2009223674A (en) 2009-10-01

Similar Documents

Publication Publication Date Title
JP4946564B2 (en) Authentication processing method and system
US8621574B2 (en) Opaque quarantine and device discovery
JP5797060B2 (en) Access management method and access management apparatus
JP5601638B2 (en) Method and system used to provide network service exchange
US11456985B2 (en) Apparatuses, methods, and computer program products for data retention in a common group-based communication channel
JP5313372B2 (en) Application system, application installation method, application server, program
US20160219027A1 (en) Authenticating a user account with a content management system
US9432449B2 (en) Managing connection failover in a load balancer
US10846658B2 (en) Establishing a communication event
US20160085398A1 (en) Method and system for controlling devices with a chat interface
JP2011258099A (en) Web page supply system, web page supply method, and control program
JP5117897B2 (en) Web system and information processing method in web system
CN110324384B (en) Data pushing method and device
JP6884845B1 (en) Content acquisition / playback device, content acquisition program and CDN monitoring device
JP2017167845A (en) Communication device, communication system, communication method and program
JP5300794B2 (en) Content server and access control system
JP2015201181A (en) Information processing system and information storage method
EP2722085A1 (en) Online game system, method, and computer-readable medium
JP2008217376A (en) Content sharing method and system
JP5912159B2 (en) Access management method and access management apparatus
JP7005447B2 (en) Server equipment, methods and programs
JP2016139434A (en) Access management method and access management device
US20240232325A1 (en) Server, non-transitory computer-readable recording medium storing computer-readable instructions for server and control method for server
EP2722084A1 (en) Online game systems, methods, and computer-readable medium
TW201521395A (en) Server and share link management method thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20120509

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120511

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121016

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121018

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5117897

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151026

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350