IP Library Granted Patent US 10,565,106
Granted Patent B2
US 10,565,106 · App. 15/825,631 · Granted Feb 18, 2020

Garbage collection of nuisance cookies

Inventors: Yaser K. Doleh (North Royalton, OH); Brian W. Jensen (Raleigh, NC); Patrick Rodrigo Mardones Rodriguez (Recoleta, CL); Mauro Marzorati (Lutz, FL)
Assignee: International Business Machines Corporation
G06F12/0253G06F16/972H04L67/02
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 10,565,106
App. No.
15/825,631
Granted
Feb 18, 2020
Kind
B2
Abstract

The disclosure is directed to garbage cleaning of cookies in a web browser. A computer-implemented process according to embodiments includes: determining a presence of a first cookie and a second cookie in the web browser, the first cookie and the second cookie representing a cleanliness status of the web browser; in response to determining that the first cookie and the second cookie are both present in the web browser, indicating a status of the web browser as clean and taking no further cleaning action; and in response to determining that only the first cookie is present in the web browser, indicating the status of the web browser as needs cleaning, and performing garbage collection of cookies in the web browser.

Claims (45)

1. A computer-implemented process for garbage collection of cookies in a web browser, comprising:

determining a presence of a first cookie and a second cookie in the web browser, the first cookie and the second cookie representing a cleanliness status of the web browser;

in response to determining that the first cookie and the second cookie are both present in the web browser, indicating a status of the web browser as clean and taking no further cleaning action; and

in response to determining that only the first cookie is present in the web browser, indicating the status of the web browser as needs cleaning, and performing garbage collection of cookies in the web browser.

2. The computer-implemented process according to claim 1 , wherein the first cookie is a long term cookie having a validity period, and wherein the second cookie is a short term cookie having a validity period shorter than the validity period of the long term cookie.

3. The computer-implemented process according to claim 2 , further comprising, prior to the determining:

setting the validity period of the short term cookie;

setting the short term cookie to a first Boolean value;

setting the validity period of the long term cookie; and

setting the long term cookie to a second Boolean value, different than the first Boolean value.

4. The computer-implemented process according to claim 3 , wherein the second Boolean value comprises a pointer to a computer program product, which when executed, performs the garbage collection of cookies in the web browser.

5. The computer-implemented process according to claim 2 , further comprising:

in response to determining that the long term cookie is not present, setting the short term and long term cookies.

6. The computer-implemented process according to claim 2 , further comprising:

in response to completion of the garbage collection of cookies in the web browser, setting the short term and long term cookies.

7. A computerized system for garbage collection of cookies in a web browser by performing a method, the method comprising:

determining a presence of a first cookie and a second cookie in the web browser, the first cookie and the second cookie representing a cleanliness status of the web browser;

in response to determining that the first cookie and the second cookie are both present in the web browser, indicating a status of the web browser as clean and taking no further cleaning action; and

in response to determining that only the first cookie is present in the web browser, indicating the status of the web browser as needs cleaning, and performing garbage collection of cookies in the web browser.

8. The computerized system according to claim 7 , wherein the first cookie is a long term cookie having a validity period, and wherein the second cookie is a short term cookie having a validity period shorter than the validity period of the long term cookie.

9. The computerized system according to claim 8 , the method further comprising, prior to the determining:

setting the validity period of the short term cookie;

setting the short term cookie to a first Boolean value;

setting the validity period of the long term cookie; and

setting the long term cookie to a second Boolean value, different than the first Boolean value.

10. The computerized system according to claim 9 , wherein the second Boolean value comprises a pointer to a computer program product, which when executed, performs the garbage collection of cookies in the web browser.

11. The computerized system according to claim 8 , the method further comprising:

in response to determining that the long term cookie is not present, setting the short term and long term cookies.

12. The computerized system according to claim 8 , the method further comprising:

in response to completion of the garbage collection of cookies in the web browser, setting the short term and long term cookies.

13. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer system to cause the computer system to perform a method for garbage cleaning of cookies in a web browser, the method including:

determining a presence of a first cookie and a second cookie in the web browser, the first cookie and the second cookie representing a cleanliness status of the web browser;

in response to determining that the first cookie and the second cookie are both present in the web browser, indicating a status of the web browser as clean and taking no further cleaning action; and

in response to determining that only the first cookie is present in the web browser, indicating the status of the web browser as needs cleaning, and performing garbage collection of cookies in the web browser.

14. The computer program product according to claim 13 , wherein the first cookie is a long term cookie having a validity period, and wherein the second cookie is a short term cookie having a validity period shorter than the validity period of the long term cookie.

15. The computer program product according to claim 14 , further comprising, prior to the determining:

setting the validity period of the short term cookie;

setting the short term cookie to a first Boolean value;

setting the validity period of the long term cookie; and

setting the long term cookie to a second Boolean value, different than the first Boolean value.

16. The computer program product according to claim 15 , wherein the second Boolean value comprises a pointer to a computer program product, which when executed, performs the garbage collection of cookies in the web browser.

17. The computer program product according to claim 14 , further comprising:

in response to determining that the long term cookie is not present, setting the short term and long term cookies.

18. The computer program product according to claim 14 , further comprising:

in response to completion of the garbage collection of cookies in the web browser, setting the short term and long term cookies.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 13, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KYNDRYL, INC.
Reel/Frame 057885/0644 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NAME OF CONVEYING PARTY DATA PATRICK R. MARDONES RODRIQUEZ PREVIOUSLY RECORDED ON REEL 044248 FRAME 047. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Oct 21, 2019
From: DOLEH, YASER K.; JENSEN, BRIAN W.; MARDONES RODRIGUEZ, PATRICK RODRIGO; MARZORATI, MAURO
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 050772/0214 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 29, 2017
From: DOLEH, YASER K.; JENSEN, BRIAN W.; MARDONES RODRIQUEZ, PATRICK R.; MARZORATI, MAURO
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 044248/0473 →
Continuity (1)
Related Publication 20190163624A1 · May 30, 2019
Cited By (1)
US 12,250,245