US8229969B1 - Maintaining web session data spanning multiple application servers in a session database - Google Patents

Maintaining web session data spanning multiple application servers in a session database Download PDF

Info

Publication number
US8229969B1
US8229969B1 US12/042,090 US4209008A US8229969B1 US 8229969 B1 US8229969 B1 US 8229969B1 US 4209008 A US4209008 A US 4209008A US 8229969 B1 US8229969 B1 US 8229969B1
Authority
US
United States
Prior art keywords
session
web
session data
web session
data
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, expires
Application number
US12/042,090
Inventor
Gregory R. Floyd
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.)
International Business Machines Corp
Original Assignee
Open Invention Network LLC
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 Open Invention Network LLC filed Critical Open Invention Network LLC
Priority to US12/042,090 priority Critical patent/US8229969B1/en
Assigned to SOUTHERN COMPANY SERVICES, INC. reassignment SOUTHERN COMPANY SERVICES, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: FLOYD, GREGORY R.
Assigned to OPEN INVENTION NETWORK, LLC reassignment OPEN INVENTION NETWORK, LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SOUTHERN COMPANY SERVICES, INC.
Priority to US13/555,822 priority patent/US8738661B1/en
Application granted granted Critical
Publication of US8229969B1 publication Critical patent/US8229969B1/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: OPEN INVENTION NETWORK LLC
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION CORRECTIVE ASSIGNMENT TO CORRECT THE EFFECTIVE DATE OF THE PATENT ASSIGNMENT AGREEMENT DATED NOVEMBER 30, 2021 PREVIOUSLY RECORDED AT REEL: 058426 FRAME: 0791. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Assignors: OPEN INVENTION NETWORK LLC
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Definitions

  • Embodiments of the invention relate generally to computer servers and databases and, more particularly to maintaining web session data that spans multiple servers in a session database.
  • IP Internet Protocol
  • Session variables also incur about 10 KB of memory overhead in addition to the data that is stored in the session.
  • Methods of storing session state include, but are not limited to, cookies (size limited to 4K), query strings (size limited to 2K) and hidden-form variables (cause HTML bloat). Each of these methods and other alternatives will work with limited data but require the data to travel first to the client and then back to the server.
  • Embodiments of the invention are directed to methods and a system that allow web sites to store user information securely and retrieve it from various pages within a web site and a web farm. Since the information is stored in a separate server database, a cluster of web servers (i.e., web farm) can be supported without any affinity to a particular server. This provides improved performance for enterprise web servers and stability for users and their information as they can add additional servers to meet demand.
  • the information stored can include text, pictures or documents.
  • the information is considered temporary and is purged on a scheduled basis.
  • the information can also be encrypted so that it can be transmitted and stored in a secure medium.
  • a method, system, and computer program product are provided for maintaining a web session data spanning multiple servers.
  • a web session is initiated for a web-based application via a client browser.
  • a unique session key is generated for the web session and the web-based application.
  • the session key is stored in the client browser.
  • a web session page-level object is initialized.
  • Session data is then loaded into a memory-mapped cache.
  • Requests for session data from the client browser are received and responded to via a plurality of servers.
  • the modified session data generated during the session is stored into a session database.
  • the web session object is then flushed at the end of the session.
  • the system includes a plurality of components that perform the steps of the method when operated on a computer system.
  • the computer program product includes a computer readable medium having computer instructions embedded therein, the computer readable medium implementing the method when operated on the computer system.
  • FIG. 1 illustrates a multiple server environment in which web session data spans multiple application servers in accordance with an exemplary embodiment of the invention.
  • FIG. 2 illustrates the attributes (properties) of the Web Session object in accordance with an exemplary embodiment of the invention.
  • FIG. 3 illustrates the internal processing for the Initialize method in accordance with an exemplary embodiment of the invention.
  • FIG. 4 illustrates the internal processing for the Load method in accordance with an exemplary embodiment of the invention.
  • FIG. 5 illustrates the internal processing for the Flush method in accordance with an exemplary embodiment of the invention.
  • FIG. 6 illustrates processing logic for maintaining web session data spanning multiple servers in accordance with an exemplary embodiment of the invention.
  • Web Session a distinct unit of work tied to an application and a user.
  • a unique web session is tied to the browser instance, but can also span multiple browser instances if configured to do so.
  • SessionID a unique identifier representing a web session with an encrypted string.
  • Application the base virtual directory or site name for a web application.
  • Page An ASP page that renders HyperText Markup Language (HTML) to the client browser. Its existence is measured by the time it takes for the web server to interpret and respond with HTML, typically short-lived on an efficient server (time measured in milliseconds).
  • HTML HyperText Markup Language
  • Embodiments of the invention works for multiple platforms (e.g., Java, PHP, ASP, ASP.Net), operating systems (e.g., Windows, UNIX) and web application servers.
  • This allows a large enterprise to share information across disparate systems without writing custom code and procuring a database for each system. It also keeps the user from having to pass information indiscreetly through a web request to another web application.
  • Many large enterprises store highly available data on database servers, such as Oracle and SQL.
  • database servers such as Oracle and SQL.
  • embodiments of the invention include several components that store web session data and that can retrieve the information.
  • a centralized data repository such as the relational databases that are provided by Oracle Corporation, can be used to store web session data. These components could include the following:
  • Each component reads and writes data into a database record for user session data.
  • Embodiments of the invention segregate data by application name and session key.
  • a unique session key is generated which is stored in a session cookie in the client's browser.
  • This session data can be shared by multiple applications that share the same domain.
  • the user can also override the session key by specifying a specific session key and share data across domains.
  • the user writes session data into the session database 40 , he has the option of encrypting secure information. Since these components exist on the web servers 20 , 30 , the user can transmit secure information from the web servers 20 , 30 to the session database 40 and back.
  • Embodiments of the invention are very generic in application. Embodiments of the invention could work for any enterprise information technology (IT) shop that needs session information to span multiple web servers in a farm and must work with relational database systems. Embodiments of the invention facilitate integration of application sites without requiring a specific database. Furthermore, if the enterprise IT shop requires non-Microsoft and Microsoft IIS integration, embodiments of the invention described herein would suffice.
  • IT enterprise information technology
  • the Web Session object provides web applications with the ability to keep user session state in a web farm. It does so by replacing the common Active Server Pages (ASP) and ASP.Net session object with a page-level object that persists data to a central data store accessible to the web farm servers.
  • ASP Active Server Pages
  • Net session object with a page-level object that persists data to a central data store accessible to the web farm servers.
  • the effect of this effort is to increase web server response rates, reduce memory overhead, remove bloated HTML and improve the overall efficiency and operation of the web farm.
  • the Web Session object will allow the user to put and get user information between page invocations for the currently running application. It retrieves session data on the first invocation and caches it in the page. If any variables are stored, it will push that data to the central data store to be retrieved on a subsequent page. It keeps session data on the server without redundant trips to the client's browser.
  • This page-level object lives only for the duration of the ASP page.
  • it retrieves any variables that have been stored for the current application and user.
  • it is destroyed (i.e., flushed)
  • it stores variables and their data to the central data repository. If no items are assigned (or modified) on a single page, there will be no need to store the data. Instead, the object will only read the session data for the current page.
  • Each session can be tied uniquely to the browser or allow multiple instances of the browser within the same application to share their data. For example, if one browser views a bill and second instance is launched to view a printed format then the information could be shared for that application. On the other hand, if the user has a listing of accounts, and each new instance of the browser displays different account details, then the user would not want to share user data, but instead, create a unique subset of shared data tied to the browser instance. Therefore, each successive page of account details in the new instances of the browser could open a distinct session to share.
  • FIG. 2 illustrates the attributes (properties) of the Web Session object.
  • the user can use the SessionType and SessionVariable properties.
  • the Web Session object can be written as an agile component using Microsoft C++ and Active Template Library (ATL) 3.0.
  • the Web Session object could be written to take advantage of a web application running under the Microsoft Transaction Server (MTS).
  • MTS Microsoft Transaction Server
  • the Web Session object is not an MTS object, it is both-threaded, aggregates the Free Threaded Marshaler (FTM) and supports the IObjectContext interface.
  • FTM can be used when the object does not store state across methods. It can also be used in out-of-process server components.
  • FTM-based objects When aggregating the FTM, FTM-based objects must ensure that they can be called from any thread in the process. Since FTM-based objects are context neutral, they have no context of their own, and must use the caller's context.
  • the IObjectContext interface provides access to the current object's context.
  • An object's context is used when working with transactions or dealing with object security. This allows each instance to join the “apartment” of the calling thread and removes “cross-apartment” communications and marshalling. By doing this, there is no degradation when communicating with the ASP session and application objects. It also supports synchronized access to shared attributes of the object.
  • the Web Session object uses Microsoft's Object Linking and Embedding, Database (OLE DB) application programming interface (API) to access a database, such as that provided by Oracle Corporation. It uses these methods to store session variables from which any web server can pull. For database operation, the Web Session object invokes stored procedures and prepared commands to provide optimal database access and control.
  • the Web Session object is also fully scalable (e.g., up to five database servers in an exemplary embodiment) by allowing multiple data stores to be configured and assigned to a session through a hash algorithm. There is no redundancy built into the object, thus, the data is not stored redundantly into each database. In one embodiment, once a connection is established, the Web Session object assumes the database is configured properly with Oracle clustered servers and/or parallel processing.
  • the Web Session object provides secure data with the ability to encrypt it before storing the value.
  • the user can optionally store them as confidential. This will encrypt the data for that item and store the data encrypted using the Microsoft Cryptographic Application Programming Interface (Crypto API) as the default.
  • the Web Session object is to be used at the page level and should be created and destroyed within the ASP page. It should not be used at the session or application level. To achieve the full benefit of non-stateful web applications, the user should turn off “Sessions” in the control panel for the supported application and use this object for state data. The impact of this object on a rendering web page should be minimal. In fact, the Web Session object can read and write 1000 variables in less than one second.
  • a session ID is generated for a browser session and a HOST_Named application. If the browser accepts cookies, this is the easiest implementation and each instance of the browser will have a unique session assigned.
  • this object could be installed on a Windows NT Client/Server or Windows 2000 platform with Microsoft Internet Information Service (IIS) installed.
  • IIS Microsoft Internet Information Service
  • This object could be registered locally with execute privileges and run under an NT User ID that has access to the registry.
  • any web application that uses the Web Session object could be run under the Microsoft Transaction Server (MTS).
  • MTS Microsoft Transaction Server
  • the web application could be run out-of-process with the object loaded into the MTS process.
  • the Web Session object will only work when miming under the same process as the web application as it uses the “Object Context” to communicate with IIS and its components.
  • the Object Context object is used to control Active Server Pages that are managed by MTS.
  • the Web Session object would require few complimentary components to run.
  • the Web Session object uses a database and finds the data source by referencing the connect string in the registry.
  • the Web Session object also must have a default provider for Microsoft Crypto API.
  • the Web Session object relies on Microsoft Data Access Components (MDAC) 2.1 and OLE DB.
  • the user must also have configured the database (e.g., Oracle) client.
  • Microsoft Data Access Components (MDAC) is a collection of components used to provide database connectivity on Windows platforms. MDAC is included by default as part of Windows XP, Windows 2000, Windows 2003, and Vista operating systems.
  • the Web Session object uses the following registry settings:
  • ConnectTimeout value in the connect string and create multiple database connection entries in the registry.
  • the Initialize method creates a session. It is only necessary to invoke this method on the first page of an application.
  • the method initializes a session by using the supplied SessionID (32-bit character) or by generating a unique Session ID.
  • FIG. 3 illustrates the internal processing for the Initialize method. If the SessionType is stDesktopCookie or stBrowserCookie, a cookie is stored (or attempted). Otherwise, successive commands can retrieve the generated Session ID by using the SessionID property.
  • the Initialize method is called automatically on the first Get/Put of a session item variable.
  • Load Method loads session data from the database into a memory-mapped cache.
  • Memory-mapped data stores all of the session keys/values and keeps up with updates so that is can write the updates back to the database.
  • This data is read from the database initially, and holds all values in memory for the lifetime of a single page. This is effectively a short-lived cache. If the values are changed, only the changed or new values are written back to the database. Initially, all data is stored in the database. Subsequent pages only push changes to what is already in the database by looking at flags in the memory-mapped area.
  • FIG. 4 illustrates the internal processing for the Load method. Until the object goes out of scope, the object is set to nothing, or the Flush method is called, all data is retrieved from this cache.
  • the user can optionally provide a SessionType or SessionId instead of calling method Initialize. This method allows the user to control when the data is loaded.
  • Flush Method The Flush method stores session data to the database from the memory-mapped cache.
  • FIG. 5 illustrates the internal processing for the Flush method.
  • Flush is called automatically in the objects destructor. This method gives the programmer the control to set when the data is put back into the database. On invocation, all cache is destroyed and the object is left empty.
  • FIG. 2 illustrates the attributes (properties) of the Web Session object and describes the name, type, declaration, implementation, and default value for each attribute identified.
  • the Web Session object attributes include item, session type, session variable, session ID, and application.
  • Item Property This property encapsulates a session variable. Each item is identified by a string “Key” and can optionally be tagged as confidential. Items are encrypted and stored as a hexadecimal string, thus doubling the storage size of the variable.
  • VARIANT vItem Item(VARIANT Key, [VARIANT Confidential])
  • sName object.Item(“UserName”) or . . .
  • Session Type Property This is an enumerated property of type enumSessionType that dictates how the session will be identified to the browser. This can occur through a cookie, query string or form variable.
  • SessionType VARIANT vType
  • SessionID Property This property assigns the SessionID when a generated Globally Unique Identifier (GUID) will not work. If can only be assigned before the Initialize method is called. It can be retrieved at any time.
  • a session ID is a maximum of 32 characters and could uniquely identify a user on a web farm.
  • SessionId VARIANT vSessionId
  • SessionVariable Property This is a property that names the cookie, query string, or form variable to retrieve when looking for an existing session ID. Once the session is initialized, every instance created will look in a specific place (i.e., the browser cookie, desktop cookie, query string or form variable) for a session variable named using this property. Default values exist for all session types. In one embodiment, the default value for Query String and Form Variable is: ScSessionId.
  • SessionVariable VARIANT vVariableName
  • Application Property This is a property that names the application.
  • the application and SessionID uniquely identify a web application and user session. If not set, the application will default to the web application's HOST_NAME that is identified in the HTTP headers.
  • an enumerated type is an abstract data type that is used to model an attribute with a limited number of options.
  • the enum keyword is used to declare an enumeration, a distinct type having a set of named constants.
  • the first enumerator on the list has the value zero.
  • the value of each successive enumerator is increased by one.
  • the following table describes the enumerated session type and set of values used in embodiments of the invention.
  • FIG. 6 illustrates processing logic for maintaining web session data spanning multiple servers in an exemplary embodiment.
  • a web session for a web application is initiated by a user via a client device as indicated in logic block 600 .
  • a unique session key is then generated that is based on the web session and the web application as indicated in logic block 604 .
  • the session key can be stored in a session cookie in the client browser for the duration of the session as indicated in logic block 608 .
  • a web session page-level object is initialized as indicated in logic block 612 .
  • Session data is then loaded into a memory-mapped cache as indicated in logic block 616 .
  • the multiple web servers receive and respond to requests for web pages via HTTP requests from the client browser, as indicated in logic block 620 .
  • the session data in the memory-mapped cache is stored in the session database at the end of the session, as indicated in logic block 624 .
  • the session data can be encrypted before it is stored in the database.
  • the web session object is then flushed as indicated in logic block 628 . Flushing the web object results in session data being deleted from the cache and the web session object being emptied.
  • the following example simply uses the session object and its default properties to pass information between two ASP pages.
  • the session information will be stored in the database using a computed GUID and the HOST_NAME for the virtual site.
  • the SessionID will remain in a browser cookie until the browser is closed. Each browser will receive a unique SessionID. The user could use different Session Types.
  • the next example simply uses the session object to pass information between two ASP pages.
  • the session information will be stored in the database using a computed Globally Unique Identifier (GUID) and the HOST_NAME for the virtual site.
  • GUID Globally Unique Identifier
  • HOST_NAME HOST_NAME
  • the SessionID will remain in a browser cookie until the browser is closed.
  • the user can set the Session Type to use either the query string or a hidden form variable.
  • the following example uses a query string. It creates two instances of the browser, one for multiple account listings and the other for account details with line item charges. Thus, each detailed ASP will require a unique session ID to be passed on the Uniform Resource Locator (URL) and the original session ID for logon information. This example represents a complex scenario that would not normally be required.
  • URL Uniform Resource Locator

Abstract

A method, system, and computer program product for maintaining a web session data spanning multiple servers. A web session is initiated for a web-based application via a client browser. A unique session key is generated for the web session and the web-based application. The session key is stored in the client browser. A web session page-level object is initialized. Session data is then loaded into a memory-mapped cache. Requests for session data from the client browser are received and responded to via a plurality of servers. The modified session data generated during the session is stored into a session database. The web session object is then flushed at the end of the session.

Description

BACKGROUND OF THE INVENTION
Embodiments of the invention relate generally to computer servers and databases and, more particularly to maintaining web session data that spans multiple servers in a session database.
Because web farms have no “affinity” and each page request can be routed to a different web server, the user cannot keep state on a web server using session variables. Sessions do not span web servers. To do so would require “sticky IP” sessions, or affinity to a particular web server for the user's session. With sticky IP sessions, a user's Internet Protocol (IP) address is mapped internally to an application server instance when the initial request is served by the application server. All subsequent requests coming from the same IP address are redirected by the web server to the application server based upon the mapping stored. If users belonging to the same organization are behind a firewall, to the external world they will appear to have the same IP address. This will result in all users of such an organization being directed to the same application server for all requests made, rather than only one single user being redirected to the same application server. This will slow down response times and reduce the ability of the web farm to provide a load balanced and fault tolerant system. Session variables also incur about 10 KB of memory overhead in addition to the data that is stored in the session.
Methods of storing session state include, but are not limited to, cookies (size limited to 4K), query strings (size limited to 2K) and hidden-form variables (cause HTML bloat). Each of these methods and other alternatives will work with limited data but require the data to travel first to the client and then back to the server.
SUMMARY OF THE INVENTION
Embodiments of the invention are directed to methods and a system that allow web sites to store user information securely and retrieve it from various pages within a web site and a web farm. Since the information is stored in a separate server database, a cluster of web servers (i.e., web farm) can be supported without any affinity to a particular server. This provides improved performance for enterprise web servers and stability for users and their information as they can add additional servers to meet demand. The information stored can include text, pictures or documents. The information is considered temporary and is purged on a scheduled basis. The information can also be encrypted so that it can be transmitted and stored in a secure medium.
In one embodiment, a method, system, and computer program product are provided for maintaining a web session data spanning multiple servers. In the method, a web session is initiated for a web-based application via a client browser. A unique session key is generated for the web session and the web-based application. The session key is stored in the client browser. A web session page-level object is initialized. Session data is then loaded into a memory-mapped cache. Requests for session data from the client browser are received and responded to via a plurality of servers. The modified session data generated during the session is stored into a session database. The web session object is then flushed at the end of the session.
The system includes a plurality of components that perform the steps of the method when operated on a computer system. The computer program product includes a computer readable medium having computer instructions embedded therein, the computer readable medium implementing the method when operated on the computer system.
BRIEF DESCRIPTION OF THE DRAWINGS
These and other advantages and aspects of the embodiments of the invention will become apparent and more readily appreciated from the following detailed description of the embodiments taken in conjunction with the accompanying drawings, as follows.
FIG. 1 illustrates a multiple server environment in which web session data spans multiple application servers in accordance with an exemplary embodiment of the invention.
FIG. 2 illustrates the attributes (properties) of the Web Session object in accordance with an exemplary embodiment of the invention.
FIG. 3 illustrates the internal processing for the Initialize method in accordance with an exemplary embodiment of the invention.
FIG. 4 illustrates the internal processing for the Load method in accordance with an exemplary embodiment of the invention.
FIG. 5 illustrates the internal processing for the Flush method in accordance with an exemplary embodiment of the invention.
FIG. 6 illustrates processing logic for maintaining web session data spanning multiple servers in accordance with an exemplary embodiment of the invention.
DETAILED DESCRIPTION
The following description is provided as an enabling teaching of embodiments of the invention including the best, currently known embodiment. Those skilled in the relevant art will recognize that many changes can be made to the embodiments described, while still obtaining the beneficial results of the disclosed embodiments. It will also be apparent that some of the desired benefits of the embodiments described can be obtained by selecting some of the features of the disclosed embodiments without utilizing other features. Accordingly, those who work in the art will recognize that many modifications and adaptations to the embodiments described are possible and may even be desirable in certain circumstances. Thus, the following description is provided as illustrative of the principles of the invention and not in limitation thereof, since the scope of the invention is defined by the claims.
The following terms are used throughout this description, and have the meanings indicated.
Web Session—a distinct unit of work tied to an application and a user. A unique web session is tied to the browser instance, but can also span multiple browser instances if configured to do so.
SessionID—a unique identifier representing a web session with an encrypted string.
Application—the base virtual directory or site name for a web application.
Page—An ASP page that renders HyperText Markup Language (HTML) to the client browser. Its existence is measured by the time it takes for the web server to interpret and respond with HTML, typically short-lived on an efficient server (time measured in milliseconds).
Embodiments of the invention works for multiple platforms (e.g., Java, PHP, ASP, ASP.Net), operating systems (e.g., Windows, UNIX) and web application servers. This allows a large enterprise to share information across disparate systems without writing custom code and procuring a database for each system. It also keeps the user from having to pass information indiscreetly through a web request to another web application. Many large enterprises store highly available data on database servers, such as Oracle and SQL. In addition, there could be multiple web servers that support a single application. Some applications share data for a single user but exist on different servers. To solve this problem, embodiments of the invention include several components that store web session data and that can retrieve the information. A centralized data repository, such as the relational databases that are provided by Oracle Corporation, can be used to store web session data. These components could include the following:
Operating
Language System Platform
EnterpriseWebSession.dll C++ Windows ASP/COM
EnterpriseWebSessionNet.dll C# Windows ASP.Net
JSession Java <any> J2EE
EnterpriseWebSessionProvider.dll C# Windows ASP.Net
Provider
Each component reads and writes data into a database record for user session data. Embodiments of the invention segregate data by application name and session key. With reference to FIG. 1, when the user initializes a session via client 10, a unique session key is generated which is stored in a session cookie in the client's browser. This session data can be shared by multiple applications that share the same domain. The user can also override the session key by specifying a specific session key and share data across domains. When the user writes session data into the session database 40, he has the option of encrypting secure information. Since these components exist on the web servers 20, 30, the user can transmit secure information from the web servers 20, 30 to the session database 40 and back.
Embodiments of the invention are very generic in application. Embodiments of the invention could work for any enterprise information technology (IT) shop that needs session information to span multiple web servers in a farm and must work with relational database systems. Embodiments of the invention facilitate integration of application sites without requiring a specific database. Furthermore, if the enterprise IT shop requires non-Microsoft and Microsoft IIS integration, embodiments of the invention described herein would suffice.
The Web Session object provides web applications with the ability to keep user session state in a web farm. It does so by replacing the common Active Server Pages (ASP) and ASP.Net session object with a page-level object that persists data to a central data store accessible to the web farm servers.
The effect of this effort is to increase web server response rates, reduce memory overhead, remove bloated HTML and improve the overall efficiency and operation of the web farm.
The Web Session object will allow the user to put and get user information between page invocations for the currently running application. It retrieves session data on the first invocation and caches it in the page. If any variables are stored, it will push that data to the central data store to be retrieved on a subsequent page. It keeps session data on the server without redundant trips to the client's browser.
This page-level object lives only for the duration of the ASP page. When it is created (i.e., initialized), it retrieves any variables that have been stored for the current application and user. When it is destroyed (i.e., flushed), it stores variables and their data to the central data repository. If no items are assigned (or modified) on a single page, there will be no need to store the data. Instead, the object will only read the session data for the current page.
Each session can be tied uniquely to the browser or allow multiple instances of the browser within the same application to share their data. For example, if one browser views a bill and second instance is launched to view a printed format then the information could be shared for that application. On the other hand, if the user has a listing of accounts, and each new instance of the browser displays different account details, then the user would not want to share user data, but instead, create a unique subset of shared data tied to the browser instance. Therefore, each successive page of account details in the new instances of the browser could open a distinct session to share.
Unique browser sessions can be achieved in all browsers by using the default implementation of the Web Session object. FIG. 2 illustrates the attributes (properties) of the Web Session object. To share data across browser instances or mix content, the user can use the SessionType and SessionVariable properties.
In an exemplary embodiment, the Web Session object can be written as an agile component using Microsoft C++ and Active Template Library (ATL) 3.0. The Web Session object could be written to take advantage of a web application running under the Microsoft Transaction Server (MTS). Although the Web Session object is not an MTS object, it is both-threaded, aggregates the Free Threaded Marshaler (FTM) and supports the IObjectContext interface. FTM can be used when the object does not store state across methods. It can also be used in out-of-process server components. When aggregating the FTM, FTM-based objects must ensure that they can be called from any thread in the process. Since FTM-based objects are context neutral, they have no context of their own, and must use the caller's context. The IObjectContext interface provides access to the current object's context. An object's context is used when working with transactions or dealing with object security. This allows each instance to join the “apartment” of the calling thread and removes “cross-apartment” communications and marshalling. By doing this, there is no degradation when communicating with the ASP session and application objects. It also supports synchronized access to shared attributes of the object.
The Web Session object uses Microsoft's Object Linking and Embedding, Database (OLE DB) application programming interface (API) to access a database, such as that provided by Oracle Corporation. It uses these methods to store session variables from which any web server can pull. For database operation, the Web Session object invokes stored procedures and prepared commands to provide optimal database access and control. The Web Session object is also fully scalable (e.g., up to five database servers in an exemplary embodiment) by allowing multiple data stores to be configured and assigned to a session through a hash algorithm. There is no redundancy built into the object, thus, the data is not stored redundantly into each database. In one embodiment, once a connection is established, the Web Session object assumes the database is configured properly with Oracle clustered servers and/or parallel processing.
The Web Session object provides secure data with the ability to encrypt it before storing the value. When storing variables, the user can optionally store them as confidential. This will encrypt the data for that item and store the data encrypted using the Microsoft Cryptographic Application Programming Interface (Crypto API) as the default.
The Web Session object is to be used at the page level and should be created and destroyed within the ASP page. It should not be used at the session or application level. To achieve the full benefit of non-stateful web applications, the user should turn off “Sessions” in the control panel for the supported application and use this object for state data. The impact of this object on a rendering web page should be minimal. In fact, the Web Session object can read and write 1000 variables in less than one second.
Using the default implementation, a session ID is generated for a browser session and a HOST_Named application. If the browser accepts cookies, this is the easiest implementation and each instance of the browser will have a unique session assigned.
In one exemplary embodiment, this object could be installed on a Windows NT Client/Server or Windows 2000 platform with Microsoft Internet Information Service (IIS) installed. This object could be registered locally with execute privileges and run under an NT User ID that has access to the registry.
Furthermore, in exemplary embodiments, any web application that uses the Web Session object could be run under the Microsoft Transaction Server (MTS). Optimally, the web application could be run out-of-process with the object loaded into the MTS process. The Web Session object will only work when miming under the same process as the web application as it uses the “Object Context” to communicate with IIS and its components. The Object Context object is used to control Active Server Pages that are managed by MTS.
In one exemplary embodiment, the Web Session object would require few complimentary components to run. The Web Session object uses a database and finds the data source by referencing the connect string in the registry. The Web Session object also must have a default provider for Microsoft Crypto API. The Web Session object relies on Microsoft Data Access Components (MDAC) 2.1 and OLE DB. The user must also have configured the database (e.g., Oracle) client. Microsoft Data Access Components (MDAC) is a collection of components used to provide database connectivity on Windows platforms. MDAC is included by default as part of Windows XP, Windows 2000, Windows 2003, and Vista operating systems.
In one exemplary embodiment, the Web Session object uses the following registry settings:
Registry Key Data Type Value Description
HKLM\ Soft- String <connectString> Oracle Connection String
ware\Enter- using the format:
prise\WebSes- Provider=MSDAORA.1;
sion\oraXXX Data Source=xxx;User
Id=xxx;Password=xxx;
ConnectionTimeout=1
To take advantage of quick connections and scalable database, the user can specify a ConnectTimeout value in the connect string and create multiple database connection entries in the registry. There are a number of possible data sources that can be configured. Each data store is assigned through a hash algorithm of the SessionID. If a failure occurs, sequential assignment will begin at the first connection enumerated in the registry. If no ConnectionTimeout or CommandTimeout is specified in the connect string, then a value of five and ten seconds will be assigned respectively (only for non-ODBC providers).
Method Summary for Web Session Object
Initialize Method: The Initialize method creates a session. It is only necessary to invoke this method on the first page of an application. The method initializes a session by using the supplied SessionID (32-bit character) or by generating a unique Session ID. FIG. 3 illustrates the internal processing for the Initialize method. If the SessionType is stDesktopCookie or stBrowserCookie, a cookie is stored (or attempted). Otherwise, successive commands can retrieve the generated Session ID by using the SessionID property. The Initialize method is called automatically on the first Get/Put of a session item variable.
Usage:
Initialize ([VARIANT vSessionId])
Example
Initialize
Load Method: The Load method loads session data from the database into a memory-mapped cache. Memory-mapped data stores all of the session keys/values and keeps up with updates so that is can write the updates back to the database. This data is read from the database initially, and holds all values in memory for the lifetime of a single page. This is effectively a short-lived cache. If the values are changed, only the changed or new values are written back to the database. Initially, all data is stored in the database. Subsequent pages only push changes to what is already in the database by looking at flags in the memory-mapped area.
FIG. 4 illustrates the internal processing for the Load method. Until the object goes out of scope, the object is set to nothing, or the Flush method is called, all data is retrieved from this cache. The user can optionally provide a SessionType or SessionId instead of calling method Initialize. This method allows the user to control when the data is loaded.
Usage:
Load ([VARIANT vSessionType], [VARIANT vSessionId])
Example:
Load
Flush Method: The Flush method stores session data to the database from the memory-mapped cache. FIG. 5 illustrates the internal processing for the Flush method. Flush is called automatically in the objects destructor. This method gives the programmer the control to set when the data is put back into the database. On invocation, all cache is destroyed and the object is left empty.
Usage:
Flush ( )
Example:
Flush
Attribute (Property) Summary for Web Session Object
FIG. 2 illustrates the attributes (properties) of the Web Session object and describes the name, type, declaration, implementation, and default value for each attribute identified. The Web Session object attributes include item, session type, session variable, session ID, and application.
Item Property: This property encapsulates a session variable. Each item is identified by a string “Key” and can optionally be tagged as confidential. Items are encrypted and stored as a hexadecimal string, thus doubling the storage size of the variable.
Usage:
VARIANT vItem=Item(VARIANT Key, [VARIANT Confidential])
Item(VARIANT Key, [VARIANT Confidential]=VARIANT vItem
Example:
object.Item(“UserName”)=“Greg”
object(“UserName”)=“Greg”
sName=object.Item(“UserName”) or . . .
sName=object(“UserName”)
Session Type Property: This is an enumerated property of type enumSessionType that dictates how the session will be identified to the browser. This can occur through a cookie, query string or form variable.
Usage:
SessionType=VARIANT vType
Example:
Object.SessionType=vtBrowserCookie
SessionID Property: This property assigns the SessionID when a generated Globally Unique Identifier (GUID) will not work. If can only be assigned before the Initialize method is called. It can be retrieved at any time. A session ID is a maximum of 32 characters and could uniquely identify a user on a web farm.
Usage:
SessionId=VARIANT vSessionId
VARIANT vSessionId=SessionId
Example:
object.SessionId=“Greg”
vSessionId=object.SessionId
SessionVariable Property: This is a property that names the cookie, query string, or form variable to retrieve when looking for an existing session ID. Once the session is initialized, every instance created will look in a specific place (i.e., the browser cookie, desktop cookie, query string or form variable) for a session variable named using this property. Default values exist for all session types. In one embodiment, the default value for Query String and Form Variable is: ScSessionId.
Usage:
SessionVariable=VARIANT vVariableName
Example:
Object.SessionVariable=“fSessionId”
Application Property: This is a property that names the application. The application and SessionID uniquely identify a web application and user session. If not set, the application will default to the web application's HOST_NAME that is identified in the HTTP headers.
Usage:
Application=VARIANT vApplicationName
Example:
Object.Application=“STARS”
In high level computer programming languages, an enumerated type is an abstract data type that is used to model an attribute with a limited number of options. For example, in C# the enum keyword is used to declare an enumeration, a distinct type having a set of named constants. By default, the first enumerator on the list has the value zero. The value of each successive enumerator is increased by one. The following table describes the enumerated session type and set of values used in embodiments of the invention.
Enum Type:
Name Value Description
EnumSessionType Long The Session Type identifies
where the session identifier is kept.
Values include:
stBrowserCookie = 0
stDesktopCookie = 1
stQueryString = 2
StFormVariable = 3
StAny = 4
FIG. 6 illustrates processing logic for maintaining web session data spanning multiple servers in an exemplary embodiment. A web session for a web application is initiated by a user via a client device as indicated in logic block 600. A unique session key is then generated that is based on the web session and the web application as indicated in logic block 604. The session key can be stored in a session cookie in the client browser for the duration of the session as indicated in logic block 608. A web session page-level object is initialized as indicated in logic block 612. Session data is then loaded into a memory-mapped cache as indicated in logic block 616. The multiple web servers receive and respond to requests for web pages via HTTP requests from the client browser, as indicated in logic block 620. The session data in the memory-mapped cache is stored in the session database at the end of the session, as indicated in logic block 624. The session data can be encrypted before it is stored in the database. The web session object is then flushed as indicated in logic block 628. Flushing the web object results in session data being deleted from the cache and the web session object being emptied.
The following example simply uses the session object and its default properties to pass information between two ASP pages. The session information will be stored in the database using a computed GUID and the HOST_NAME for the virtual site. The SessionID will remain in a browser cookie until the browser is closed. Each browser will receive a unique SessionID. The user could use different Session Types.
Page1.asp
Dim o
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
o(“OperatorId”)=“grfloyd”
Set o=Nothing
Page2.asp
Dim o
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
Response.write o(“OperatorId”)
Set o=Nothing
The next example simply uses the session object to pass information between two ASP pages. The session information will be stored in the database using a computed Globally Unique Identifier (GUID) and the HOST_NAME for the virtual site. The SessionID will remain in a browser cookie until the browser is closed. Both this example (Scenario 2) and the next example (Scenario 3) use an example of a customer service operator retrieving multiple accounts for a representative and looking at the details of each individual account and its line items.
logon.asp
Dim o
Const stDesktopCookie=1
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
o.SessionType=stDesktopCookie
o.Initialize
o(“OperatorId”)=“grfloyd”
Set o=Nothing
acctlist.asp
Dim o
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
o.SessionType=stDesktopCookie
sUserld=o(“OperatorId”)
o(“AcctId”)=sSelectedAcct
Set o=Nothing
accthdr.asp
Dim o
Dim p
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
o.SessionType=stDesktopCookie
sAcctId=o(“AcctId”)
Set o=Nothing
Set p=CreateObject(“EnterpriseWebSession.UserSession”)
p.Initialize( )
p(“AcctName”)=sAcctName
Set p=Nothing
acctitm.asp
Dim o
Dim p
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
o.SessionType=stDesktopCookie
sOperId=o(“OperatorId”)
Set o=Nothing
Set p=CreateObject(“EnterpriseWebSession.UserSession”)
sAcctName=p(“AcctName”)
Set p=Nothing
When an application cannot dictate that all client browsers will accept cookies, then the user can set the Session Type to use either the query string or a hidden form variable. The following example uses a query string. It creates two instances of the browser, one for multiple account listings and the other for account details with line item charges. Thus, each detailed ASP will require a unique session ID to be passed on the Uniform Resource Locator (URL) and the original session ID for logon information. This example represents a complex scenario that would not normally be required.
logon.asp
Dim o
Dim
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
o.SessionType=stQueryString
sSessionId=o.Initialize( ) ‘Generate unique session Id
o(“OperatorId”)=“grfloyd” ‘and pass it using URL
Set o=Nothing
acctlist.asp
Dim o
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
‘Since we are calling Initialize, we will retrieve
‘the Session Id from the URL using the default
‘Session Variable name.
o.SessionType=stQueryString
sUserId=o(“OperatorId”)
o(“AcctId”)=sSelectedAcct
Set o=Nothing
accthdr.asp
Dim o
Dim p
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
o.SessionType=stQueryString
sAcctId=o(“AcctId”)
Set o=Nothing
Set p=CreateObject(“EnterpriseWebSession.UserSession”)
p.SessionType=stQueryString
sNewSessionId=p.Initialize( )
‘Generate new session Id
‘and pass it in URL as “NewSessionId=”
p(“AcctName”)=sAcctName
Set p=Nothing
acctitm.asp
Dim o
Dim p
Set o=CreateObject(“EnterpriseWebSession.UserSession”)
o.SessionType=stQueryString
sOperId=o(“OperatorId”) ‘Use default sessionId variable
Set o=Nothing
Set p=CreateObject(“EnterpriseWebSession.UserSession”)
o.SessionType=stQueryString
o.SessionVariable=“NewSessionId” ‘Look for new one
sAcctName=p(“AcctName”)
Set p=Nothing
The system and method embodiments of the invention have been described as computer-implemented processes. It is important to note, however, that those skilled in the art will appreciate that the mechanisms of the disclosed embodiments are capable of being distributed as program products in a variety of forms, regardless of the particular type of physical signal bearing media utilized to carry out the distribution. Examples of signal bearing media include, without limitation, recordable-type media such as diskettes or CD ROMs.
The corresponding structures, materials, acts, and equivalents of all means plus function elements in any claims below are intended to include any structure, material, or acts for performing the function in combination with other claim elements as specifically claimed. Those skilled in the art will appreciate that many modifications to the exemplary embodiments are possible without departing from the scope of the present invention.
In addition, it is possible to use some of the features of the embodiments disclosed without the corresponding use of the other features. Accordingly, the foregoing description of the exemplary embodiments is provided for the purpose of illustrating the principles of the invention, and not in limitation thereof, since the scope of the present invention is defined solely by the appended claims.

Claims (18)

1. A method for maintaining web session data spanning multiple servers, comprising the steps of:
initiating a web session for a web-based application via a client browser;
generating a unique session key for the web session and web-based application by the client browser;
storing the session key in the client browser as a unique session identification (ID);
initializing a web session page-level object by the client browser which retrieves at least one of a current web-based application variable and a user specific variable;
loading session data into a memory-mapped cache including the web session page-level object with the at least one current application variable and the user specific variable;
receiving and responding to requests for session data from the client browser via a plurality of servers;
replacing at least one active server page (ASP) and ASP session object associated with the web-based application with the web session page-level object and storing the web session page-level object in a session database;
storing modified session data into the session database;
flushing the web session page-level object at the end of the session by deleting the session data from the memory-mapped cache and emptying data in the web session page-level object; and
sharing web session data across a plurality of platforms and operating systems, wherein the plurality of platforms comprises at least two of a Java platform, a PHP (Hypertext Preprocessor) platform, an ASP (Active Server Pages) platform, and an ASP.Net platform.
2. The method for maintaining web session data spanning multiple servers of claim 1 further comprising encrypting the session data before storing the modified session data into the session database.
3. The method for maintaining web session data spanning multiple servers of claim 1 wherein the session key is stored in a session cookie in the client browser.
4. The method for maintaining web session data spanning multiple servers of claim 1 further comprising configuring and assigning multiple databases to the web session through a hashing algorithm.
5. The method for maintaining web session data spanning multiple servers of claim 1 wherein the web session object includes at least one of an item attribute, a session type attribute, a session variable attribute, a session identifier attribute, and an application attribute.
6. The method for maintaining web session data spanning multiple servers of claim 1 wherein the session database comprises a relational database.
7. The method for maintaining web session data spanning multiple servers of claim 1 wherein the plurality of operating systems comprises a Windows operating system and a UNIX operating system.
8. A system for maintaining web session data spanning multiple servers, comprising:
a database for storing the web session data;
a processor for executing a plurality of components, including:
a component for initiating a web session for a web-based application via a client browser;
a component for generating a unique session key for the web session and web-based application;
a component for storing the session key in the client browser as a unique session identification (ID);
a component for initializing a web session page-level object which retrieves at least one of a current web-based application variable and a user specific variable;
a component for loading session data into a memory-mapped cache including the web session page-level object with the at least one current application variable and the user specific variable;
a component for receiving and responding to requests for session data from the client browser via a plurality of servers;
a component for replacing at least one active server page (ASP) and ASP session object associated with the web-based application with the web session page-level object and storing the web session page-level object in a session database;
a component for storing modified session data into the session database;
a component for flushing the web session page-level object at the end of the session by deleting the session data from the memory-mapped cache and emptying data in the web session page-level object:
a component for maintaining web session data spanning multiple servers, wherein web session data is shared across a plurality of platforms and operating systems; and
a component for maintaining web session data spanning multiple servers,
wherein the plurality of platforms comprises at least two of a Java platform, a PHP (Hypertext Preprocessor) platform, an ASP (Active Server Pages) platform, and an ASP.Net platform.
9. The system for maintaining web session data spanning multiple servers of claim 8 further comprising a component for encrypting the session data before storing the modified session data into the session database.
10. The system for maintaining web session data spanning multiple servers of claim 8 wherein the session key is stored in a session cookie in the client browser.
11. The system for maintaining web session data spanning multiple servers of claim 8 further comprising a component for configuring and assigning multiple databases to the web session.
12. The system for maintaining web session data spanning multiple servers of claim 8 wherein the web session object includes at least one of an item attribute, a session type attribute, a session variable attribute, a session identifier attribute, and an application attribute.
13. The system for maintaining web session data spanning multiple servers of claim 8 wherein the plurality of operating systems comprises a Windows operating system and a UNIX operating system.
14. A non-transitory computer program product for maintaining web session data spanning multiple servers when operated on a processor, the computer program product comprising a computer readable medium having computer readable code embedded therein, the computer readable medium comprising:
program instructions that initiate a web session for a web-based application via a client browser;
program instructions that generate a unique session key for the web session and web-based application;
program instructions that store the session key in the client browser as a unique session identification (ID);
program instructions that initialize a web session page-level object;
program instructions that load session data into a memory-mapped cache including the web session page-level object with the at least one current application variable and the user specific variable;
program instructions that receive and respond to requests for session data from the client browser via a plurality of servers;
program instructions that replace at least one active server page (ASP) and ASP session object associated with the web-based application with the web session page-level object and storing the web session page-level object in a session database;
program instructions that store modified session data into a session database;
program instructions that flush the web session page-level object at the end of a session by deleting the session data from the memory-mapped cache and emptying data in the web session page-level object;
program instructions that maintain web session data spanning multiple servers, wherein the computer readable medium further comprises program instructions that share web session data across a plurality of platforms and operating systems; and
program instructions that maintain web session data spanning multiple servers, wherein the plurality of platforms comprises at least two of a Java platform, a PHP (Hypertext Preprocessor) platform, an ASP (Active Server Pages) platform, and an ASP.Net platform.
15. The non-transitory computer program product for maintaining web session data spanning multiple servers of claim 14 wherein the computer readable medium further comprises program instructions that encrypt the session data before storing the modified session data into the session database.
16. The non-transitory computer program product for maintaining web session data spanning multiple servers of claim 14 wherein the computer readable medium further comprises program instructions that store the session key in a session cookie in the client browser.
17. The non-transitory computer program product for maintaining web session data spanning multiple servers of claim 14 wherein the computer readable medium further comprises program instructions that configure and assign multiple databases to the web session.
18. The non-transitory computer program product for maintaining web session data spanning multiple servers of claim 14 wherein the plurality of operating systems comprises a Windows operating system and a UNIX operating system.
US12/042,090 2008-03-04 2008-03-04 Maintaining web session data spanning multiple application servers in a session database Active 2029-05-02 US8229969B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US12/042,090 US8229969B1 (en) 2008-03-04 2008-03-04 Maintaining web session data spanning multiple application servers in a session database
US13/555,822 US8738661B1 (en) 2008-03-04 2012-07-23 Maintaining web session data spanning multiple application servers in a session database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12/042,090 US8229969B1 (en) 2008-03-04 2008-03-04 Maintaining web session data spanning multiple application servers in a session database

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/555,822 Continuation US8738661B1 (en) 2008-03-04 2012-07-23 Maintaining web session data spanning multiple application servers in a session database

Publications (1)

Publication Number Publication Date
US8229969B1 true US8229969B1 (en) 2012-07-24

Family

ID=46513156

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/042,090 Active 2029-05-02 US8229969B1 (en) 2008-03-04 2008-03-04 Maintaining web session data spanning multiple application servers in a session database
US13/555,822 Active US8738661B1 (en) 2008-03-04 2012-07-23 Maintaining web session data spanning multiple application servers in a session database

Family Applications After (1)

Application Number Title Priority Date Filing Date
US13/555,822 Active US8738661B1 (en) 2008-03-04 2012-07-23 Maintaining web session data spanning multiple application servers in a session database

Country Status (1)

Country Link
US (2) US8229969B1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100191700A1 (en) * 2009-01-29 2010-07-29 Oracle International Corporation Communication Handler for Flex Integration with a Secure Application
US20120246215A1 (en) * 2011-03-27 2012-09-27 Michael Gopshtein Identying users of remote sessions
CN103634391A (en) * 2013-11-26 2014-03-12 上海合鸿信息技术有限公司 Method and system for realizing conversation sharing
US20140082480A1 (en) * 2012-09-14 2014-03-20 International Business Machines Corporation Identification of sequential browsing operations
US20140280431A1 (en) * 2013-03-13 2014-09-18 Nice-Systems Ltd. System and method for interoperability between flex applications and .net applications
US20140288965A1 (en) * 2013-03-23 2014-09-25 Hope Hospitals Healthcare Management System
US9063806B2 (en) 2009-01-29 2015-06-23 Oracle International Corporation Flex integration with a secure application
US9659335B2 (en) 2009-01-29 2017-05-23 Oracle International Corporation Sample management for a sales call
US9760381B2 (en) 2009-01-30 2017-09-12 Oracle International Corporation Configurable toolbar
JP2020098598A (en) * 2018-12-17 2020-06-25 エスアーペー エスエー Transparent database session recovery with client-side caching
US11196728B1 (en) * 2021-03-29 2021-12-07 Fmr Llc Caching login sessions to access a software testing environment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189519A1 (en) * 2012-12-31 2014-07-03 W.W. Grainger, Inc. Systems and methods for providing website browsing history to repeat users of a website
US10600108B2 (en) 2016-09-26 2020-03-24 Target Brands, Inc. Web session security and computational load management
CN114090146B (en) * 2021-10-28 2023-06-16 青岛海尔科技有限公司 Method, device and equipment for determining completion of data loading

Citations (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6076108A (en) * 1998-03-06 2000-06-13 I2 Technologies, Inc. System and method for maintaining a state for a user session using a web system having a global session server
US6088728A (en) 1997-06-11 2000-07-11 Oracle Corporation System using session data stored in session data storage for associating and disassociating user identifiers for switching client sessions in a server
US6098093A (en) 1998-03-19 2000-08-01 International Business Machines Corp. Maintaining sessions in a clustered server environment
US20020019827A1 (en) * 2000-06-05 2002-02-14 Shiman Leon G. Method and apparatus for managing documents in a centralized document repository system
US20020065912A1 (en) 2000-11-30 2002-05-30 Catchpole Lawrence W. Web session collaboration
US20020143958A1 (en) 2001-03-30 2002-10-03 Montero Gabriel G. Method and apparatus for asynchronous time-based updates of http sessions
US20020147920A1 (en) * 2001-04-05 2002-10-10 Anthony Mauro Method and apparatus for providing secure processing and data storage for a wireless communication device
US20020161839A1 (en) 2001-04-30 2002-10-31 Colasurdo David B. Method and apparatus for maintaining session affinity across multiple server groups
US20020184507A1 (en) * 2001-05-31 2002-12-05 Proact Technologies Corp. Centralized single sign-on method and system for a client-server environment
US20020198883A1 (en) 2001-06-26 2002-12-26 Itaru Nishizawa Web system having clustered application servers and clustered databases
US6606708B1 (en) * 1997-09-26 2003-08-12 Worldcom, Inc. Secure server architecture for Web based data management
US20030154289A1 (en) * 2002-01-25 2003-08-14 Williamson Matthew Murray Methods of interacting with distributed information networks
US20030187677A1 (en) 2002-03-28 2003-10-02 Commerce One Operations, Inc. Processing user interaction data in a collaborative commerce environment
US20030217159A1 (en) * 2002-03-18 2003-11-20 Merck & Co., Inc. Apparatus and method for sharing session information
US20040073512A1 (en) * 2001-02-23 2004-04-15 David Maung Unique session storage design
US20040143669A1 (en) 2002-10-25 2004-07-22 International Business Machines Corporation Method, device and system for sharing application session information across multiple-channels
WO2004088543A1 (en) 2003-04-04 2004-10-14 Telenor Asa A system for transferring web sessions, and a method for conducting web sessions on the internet
US20040243349A1 (en) * 2003-05-30 2004-12-02 Segue Software, Inc. Method of non-intrusive analysis of secure and non-secure web application traffic in real-time
US20050132222A1 (en) 2003-12-12 2005-06-16 Sladjana Petrovic Method and system for secure session management in a web farm
US20050138122A1 (en) 2003-12-22 2005-06-23 International Business Machines Corporation Method and system for session sharing
US20060005026A1 (en) * 2004-06-09 2006-01-05 Samsung Electronics Co., Ltd. Method and apparatus for secure communication reusing session key between client and server
US20060075112A1 (en) 2004-09-30 2006-04-06 International Business Machines Corporation Systems, methods, and media for sharing session data on a network
US20060143217A1 (en) 2004-12-28 2006-06-29 Georgi Stanev Session management within a multi-tiered enterprise network
US20060168328A1 (en) * 2001-03-27 2006-07-27 Fujitsu Limited Packet relay processing apparatus
US20060173851A1 (en) 2005-01-28 2006-08-03 Singh Sumankumar A Systems and methods for accessing data
US20060218625A1 (en) 2005-03-25 2006-09-28 Sbc Knowledge Ventures, L.P. System and method of locating identity providers in a data network
US7117208B2 (en) 2000-09-28 2006-10-03 Oracle Corporation Enterprise web mining system and method
US20060248200A1 (en) 2005-04-29 2006-11-02 Georgi Stanev Shared memory implementations for session data within a multi-tiered enterprise network
US20060294203A1 (en) 2000-03-15 2006-12-28 Drugstore.Com, Inc. Electronic commerce session management
US20070027896A1 (en) * 2005-07-28 2007-02-01 International Business Machines Corporation Session replication
US7188181B1 (en) 1999-06-30 2007-03-06 Sun Microsystems, Inc. Universal session sharing
US20070073829A1 (en) 2005-09-13 2007-03-29 Microsoft Corporation Partitioning data across servers
US20070094373A1 (en) 1999-09-01 2007-04-26 Resonate Inc. Atomic session-start operation combining clear-text and encrypted sessions to provide ID visibility to middleware such as load-balancers
US7216236B2 (en) * 2000-11-30 2007-05-08 International Business Machines Corporation Secure session management and authentication for web sites
US7293098B2 (en) * 1998-11-30 2007-11-06 George Mason Unversity System and apparatus for storage and transfer of secure data on web
US20090144546A1 (en) * 2007-12-03 2009-06-04 Wachovia Corporation Application controlled encryption of web browser data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6889379B1 (en) * 1998-12-31 2005-05-03 Microsoft Corporation Transporting objects between a client and a server
US7778889B2 (en) * 2000-08-31 2010-08-17 The Softad Group, Llc Modular e-commerce web site development system
US20020078191A1 (en) * 2000-12-20 2002-06-20 Todd Lorenz User tracking in a Web session spanning multiple Web resources without need to modify user-side hardware or software or to store cookies at user-side hardware
US20060173951A1 (en) * 2001-01-25 2006-08-03 Carlos Arteaga System and method for transfer, control, and synchronization of data
US20030220901A1 (en) * 2002-05-21 2003-11-27 Hewlett-Packard Development Company Interaction manager
US7409709B2 (en) * 2005-02-14 2008-08-05 Etsec, Inc. Systems and methods for automatically reconfiguring a network device

Patent Citations (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6088728A (en) 1997-06-11 2000-07-11 Oracle Corporation System using session data stored in session data storage for associating and disassociating user identifiers for switching client sessions in a server
US20050210296A1 (en) * 1997-09-26 2005-09-22 Mci, Inc. Secure customer interface for Web based data management
US6606708B1 (en) * 1997-09-26 2003-08-12 Worldcom, Inc. Secure server architecture for Web based data management
US6076108A (en) * 1998-03-06 2000-06-13 I2 Technologies, Inc. System and method for maintaining a state for a user session using a web system having a global session server
US6098093A (en) 1998-03-19 2000-08-01 International Business Machines Corp. Maintaining sessions in a clustered server environment
US7293098B2 (en) * 1998-11-30 2007-11-06 George Mason Unversity System and apparatus for storage and transfer of secure data on web
US7188181B1 (en) 1999-06-30 2007-03-06 Sun Microsystems, Inc. Universal session sharing
US20070094373A1 (en) 1999-09-01 2007-04-26 Resonate Inc. Atomic session-start operation combining clear-text and encrypted sessions to provide ID visibility to middleware such as load-balancers
US20060294203A1 (en) 2000-03-15 2006-12-28 Drugstore.Com, Inc. Electronic commerce session management
US20020019827A1 (en) * 2000-06-05 2002-02-14 Shiman Leon G. Method and apparatus for managing documents in a centralized document repository system
US7117208B2 (en) 2000-09-28 2006-10-03 Oracle Corporation Enterprise web mining system and method
US7216236B2 (en) * 2000-11-30 2007-05-08 International Business Machines Corporation Secure session management and authentication for web sites
US20020065912A1 (en) 2000-11-30 2002-05-30 Catchpole Lawrence W. Web session collaboration
US20040073512A1 (en) * 2001-02-23 2004-04-15 David Maung Unique session storage design
US20060168328A1 (en) * 2001-03-27 2006-07-27 Fujitsu Limited Packet relay processing apparatus
US20020143958A1 (en) 2001-03-30 2002-10-03 Montero Gabriel G. Method and apparatus for asynchronous time-based updates of http sessions
US20020147920A1 (en) * 2001-04-05 2002-10-10 Anthony Mauro Method and apparatus for providing secure processing and data storage for a wireless communication device
US7047405B2 (en) * 2001-04-05 2006-05-16 Qualcomm, Inc. Method and apparatus for providing secure processing and data storage for a wireless communication device
US20020161839A1 (en) 2001-04-30 2002-10-31 Colasurdo David B. Method and apparatus for maintaining session affinity across multiple server groups
US20020184507A1 (en) * 2001-05-31 2002-12-05 Proact Technologies Corp. Centralized single sign-on method and system for a client-server environment
US6820085B2 (en) 2001-06-26 2004-11-16 Hitachi, Ltd. Web system having clustered application servers and clustered databases
US20020198883A1 (en) 2001-06-26 2002-12-26 Itaru Nishizawa Web system having clustered application servers and clustered databases
US20030154289A1 (en) * 2002-01-25 2003-08-14 Williamson Matthew Murray Methods of interacting with distributed information networks
US20030217159A1 (en) * 2002-03-18 2003-11-20 Merck & Co., Inc. Apparatus and method for sharing session information
US20030187677A1 (en) 2002-03-28 2003-10-02 Commerce One Operations, Inc. Processing user interaction data in a collaborative commerce environment
US20040143669A1 (en) 2002-10-25 2004-07-22 International Business Machines Corporation Method, device and system for sharing application session information across multiple-channels
WO2004088543A1 (en) 2003-04-04 2004-10-14 Telenor Asa A system for transferring web sessions, and a method for conducting web sessions on the internet
US20040243349A1 (en) * 2003-05-30 2004-12-02 Segue Software, Inc. Method of non-intrusive analysis of secure and non-secure web application traffic in real-time
US20050132222A1 (en) 2003-12-12 2005-06-16 Sladjana Petrovic Method and system for secure session management in a web farm
US20050138122A1 (en) 2003-12-22 2005-06-23 International Business Machines Corporation Method and system for session sharing
US20060005026A1 (en) * 2004-06-09 2006-01-05 Samsung Electronics Co., Ltd. Method and apparatus for secure communication reusing session key between client and server
US20060075112A1 (en) 2004-09-30 2006-04-06 International Business Machines Corporation Systems, methods, and media for sharing session data on a network
US20060143217A1 (en) 2004-12-28 2006-06-29 Georgi Stanev Session management within a multi-tiered enterprise network
US20060173851A1 (en) 2005-01-28 2006-08-03 Singh Sumankumar A Systems and methods for accessing data
US20060218625A1 (en) 2005-03-25 2006-09-28 Sbc Knowledge Ventures, L.P. System and method of locating identity providers in a data network
US20060248200A1 (en) 2005-04-29 2006-11-02 Georgi Stanev Shared memory implementations for session data within a multi-tiered enterprise network
US20070027896A1 (en) * 2005-07-28 2007-02-01 International Business Machines Corporation Session replication
US20070073829A1 (en) 2005-09-13 2007-03-29 Microsoft Corporation Partitioning data across servers
US20090144546A1 (en) * 2007-12-03 2009-06-04 Wachovia Corporation Application controlled encryption of web browser data
US7979909B2 (en) * 2007-12-03 2011-07-12 Wells Fargo Bank Application controlled encryption of web browser data

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
Bipin Joshi, "Storing Session State in a SQL Server Database", http://www.developer.com/db/article.php/3595766.
Chen, et al., "Web-Based Simulations of Power Systems", IEEE (2002): 35-40.
John Paul Cook, "ASP.NET Session State Management Using SQL Server"; http://www.dbazine.com/sql/sql-articles/cook9.
Yang, et al., "A Practical Password-Based Two-Server Authentication and Key Exchange System", IEEE vol. 3 No. 2, (2006): 105-113.
Zhu, et al., "Adapative Load Sharing for Clustered Digital Library Servers", Technical Report, CS, UCSP, (1998).

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9063806B2 (en) 2009-01-29 2015-06-23 Oracle International Corporation Flex integration with a secure application
US20100191700A1 (en) * 2009-01-29 2010-07-29 Oracle International Corporation Communication Handler for Flex Integration with a Secure Application
US9684736B2 (en) * 2009-01-29 2017-06-20 Oracle International Corporation Communication handler for flex integration with a secure application
US9659335B2 (en) 2009-01-29 2017-05-23 Oracle International Corporation Sample management for a sales call
US9760381B2 (en) 2009-01-30 2017-09-12 Oracle International Corporation Configurable toolbar
US20120246215A1 (en) * 2011-03-27 2012-09-27 Michael Gopshtein Identying users of remote sessions
US8713088B2 (en) * 2011-03-27 2014-04-29 Hewlett-Packard Development Company, L.P. Identifying users of remote sessions
US10353984B2 (en) * 2012-09-14 2019-07-16 International Business Machines Corporation Identification of sequential browsing operations
US20140082480A1 (en) * 2012-09-14 2014-03-20 International Business Machines Corporation Identification of sequential browsing operations
US11030384B2 (en) 2012-09-14 2021-06-08 International Business Machines Corporation Identification of sequential browsing operations
US9491222B2 (en) * 2013-03-13 2016-11-08 Nice-Systems Ltd. System and method for interoperability between flex applications and .NET applications
US20140280431A1 (en) * 2013-03-13 2014-09-18 Nice-Systems Ltd. System and method for interoperability between flex applications and .net applications
US20140288965A1 (en) * 2013-03-23 2014-09-25 Hope Hospitals Healthcare Management System
CN103634391A (en) * 2013-11-26 2014-03-12 上海合鸿信息技术有限公司 Method and system for realizing conversation sharing
JP2020098598A (en) * 2018-12-17 2020-06-25 エスアーペー エスエー Transparent database session recovery with client-side caching
JP7104016B2 (en) 2018-12-17 2022-07-20 エスアーペー エスエー Transparent database session recovery with client-side cache
US11663091B2 (en) * 2018-12-17 2023-05-30 Sap Se Transparent database session recovery with client-side caching
US11196728B1 (en) * 2021-03-29 2021-12-07 Fmr Llc Caching login sessions to access a software testing environment

Also Published As

Publication number Publication date
US8738661B1 (en) 2014-05-27

Similar Documents

Publication Publication Date Title
US8229969B1 (en) Maintaining web session data spanning multiple application servers in a session database
US8583810B2 (en) Session affinity cache and manager
US6978461B2 (en) System and method for accessing functionality of a backend system from an application server
US8082508B2 (en) Method and system for obtaining and modifying portlets via an application programming interface
EP2279602B1 (en) Systems and methods for remoting multimedia plugin calls
US6415335B1 (en) System and method for managing dynamic web page generation requests
US8924470B2 (en) Methods and systems for providing web applications
US7739691B2 (en) Framework for declarative expression of data processing
US20090199172A1 (en) Apparatus and method for importing language extension resources to support application execution
US7702800B2 (en) Detecting and handling affinity breaks in web applications
US7904447B1 (en) Method and system for directing local data access from a remote system
US8244798B2 (en) Techniques for sharing content between portals
US20020116582A1 (en) Batching of invalidations and new values in a web cache with dynamic content
US20060253558A1 (en) Web dispatch service
US20060259548A1 (en) Web and lotus notes adapter layers
KR20010073104A (en) Systems, methods and computer program products for assingning, generating and delivering content to intranet users
JP2002528813A (en) Automated web interface generation for software coded applications
US20050268238A1 (en) Application server configuration tool
US7509625B2 (en) System and method for comprehensive code generation for system management
US20110231481A1 (en) System, method and computer program product for communicating data between a database and a cache
US20020116583A1 (en) Automatic invalidation dependency capture in a web cache with dynamic content
US20020111992A1 (en) JSP composition in a cache for web applications with dynamic content
EP1759312A2 (en) Method and apparatus for loading data into an alternate evaluator for directory operations
JP4695903B2 (en) Web application system and program thereof
JP4641506B2 (en) Session management program, session management method, and session management apparatus

Legal Events

Date Code Title Description
AS Assignment

Owner name: SOUTHERN COMPANY SERVICES, INC., GEORGIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:FLOYD, GREGORY R.;REEL/FRAME:021088/0703

Effective date: 20080228

AS Assignment

Owner name: OPEN INVENTION NETWORK, LLC, NORTH CAROLINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SOUTHERN COMPANY SERVICES, INC.;REEL/FRAME:022003/0168

Effective date: 20080926

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8

AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW YORK

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:OPEN INVENTION NETWORK LLC;REEL/FRAME:058426/0791

Effective date: 20211203

AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW YORK

Free format text: CORRECTIVE ASSIGNMENT TO CORRECT THE EFFECTIVE DATE OF THE PATENT ASSIGNMENT AGREEMENT DATED NOVEMBER 30, 2021 PREVIOUSLY RECORDED AT REEL: 058426 FRAME: 0791. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT;ASSIGNOR:OPEN INVENTION NETWORK LLC;REEL/FRAME:058736/0436

Effective date: 20220111

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY