IP Library Granted Patent US 7,617,233
Granted Patent B2
US 7,617,233 · App. 10/952,120 · Granted Nov 10, 2009

Method, system, and computer program product for sharing information between hypertext markup language (HTML) forms using a cookie

Assignee: International Business Machines Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,617,233
App. No.
10/952,120
Granted
Nov 10, 2009
Kind
B2
Abstract

The present invention provides a method, system, and computer program product for automatically sharing information between HTML forms using a cookie. A method in accordance with the present invention comprises: providing a cookie containing at least one name-value pair; determining if an input element of a form contains a variable indicating that the input element is enabled for automatic populating, wherein the variable includes a name attribute; and automatically populating the input element of the form using the value in the corresponding name-value pair if the name attribute of the variable corresponds to a name-value pair in the cookie.

Claims (21)

1. A method for automatically populating a plurality of input elements of a form in a web browser, comprising:

providing a single cookie containing a plurality of name-value pairs, wherein, for each of the plurality of input elements of the form:

determining if the input element of the form contains a shared form variable indicating that the input element is enabled for automatic populating, wherein the shared form variable includes a name attribute and a keyword indicative of a shared form variable; and

automatically populating the input element of the form using a value in a corresponding one of the plurality of name-value pairs in the cookie if the name attribute of the shared form variable corresponds to one of the plurality of name-value pairs in the cookie;

sharing the cookie across a plurality of application servers having a common domain name system (DNS) suffix, wherein the cookie can be applied to forms originating from any of the plurality of application servers;

wherein each of the plurality of input elements containing a shared form variable includes the same keyword, and wherein the form and the cookie are received by the web browser from an application server.

2. The method of claim 1 , further comprising, for each of the plurality of input elements of the form:

entering a value into the input element of the form if the name attribute of the shared form variable does not correspond to one of the plurality of name-value pairs in the cookie.

3. The method of claim 2 , further comprising:

repeating the method for each input element in the form to provide a completed form.

4. The method of claim 3 , further comprising:

submitting the completed form to an application server.

5. The method of claim 4 , further comprising, at the application server:

for each value entered into an input element of the completed form:

generating a name-value pair comprising the name attribute of the input element and the entered value; and

updating the cookie by populating the cookie with the generated name-value pair.

6. The method of claim 5 , further comprising:

sending the cookie to the web browser.

7. The method of claim 1 , wherein the form comprises a HyperText Markup Language (HTML) form.

8. The method of claim 1 , wherein the cookie comprises a HyperText Transfer Protocol (HTTP) cookie.

9. The method of claim 1 , wherein the variable comprises a hidden form element.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 23, 2004
From: GUIDO, PATRICK R.; LEAH, ROBERT C.; MCMAHAN, PAUL F.; RILEY, WAYNE B.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 015403/0318 →
Continuity (1)
Related Publication 20060075330A1 · Apr 6, 2006