IP Library Granted Patent US 10,182,121
Granted Patent B2
US 10,182,121 · App. 15/859,550 · Granted Jan 15, 2019

Cookie based session timeout detection and management

Inventors: William J. Carpenter (Bothell, WA); Hai Ji (Beijing, CN); Zi Jian Ji (TianJin, CN); Yuan Yuan Li (Beijing, CN); Wen Bo Ma (Beijing, CN); Jia Mi (Beijing, CN)
Assignee: International Business Machines Corporation
H04L67/146H04L63/08H04L67/025
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,182,121
App. No.
15/859,550
Granted
Jan 15, 2019
Kind
B2
Abstract

A method, computer system, and a computer program product for detecting a session status based on a cookie associated with the session is provided. The present invention may include receiving an access request to a specified location associated with a server computer. The present invention may also include determining that the received access request has the cookie corresponding with the specified location. The present invention may also include receiving a last refresh time from the cookie. The present invention may then include determining the session status based on the retrieved last refresh time, a current request time, a refresh interval, and an overdue value.

Claims (13)

1. A method for detecting a session status based on a symmetrically encrypted cookie associated with the session, the method comprising:

receiving an access request to a secure website associated with a bank account of a user;

determining that the received access request has the symmetrically encrypted cookie corresponding with the specified location, wherein the symmetrically encrypted cookie contains a unique session identifier, wherein the unique session identifier is a string of numbers;

decrypting the symmetrically encrypted cookie based on a cryptographic key, wherein a server computer for the bank account is the only machine with the cryptographic key needed to decrypt the symmetrically encrypted cookie;

beginning a process for session timeout validation based on determining that decrypting the symmetrically encrypted cookie based on a cryptographic key is successful;

retrieving a last refresh time from the symmetrically encrypted cookie;

querying a current request time;

retrieving, from memory on the server computer for the bank account, a refresh interval value and an overdue value;

determining that the session is valid based on calculating that a difference value corresponding to the current request time and the last refresh time is not greater than or equal to an aggregate value corresponding to the refresh interval value and the overdue value, wherein the refresh interval value is ten and the overdue value is fifteen, and the current request time minus the last refresh time is equal to the refresh interval;

determining that the difference value is greater than or equal to the refresh interval value based on determining that the session is valid;

altering the cookie with an updated last refresh time based on determining that the difference value is greater than or equal to the refresh interval value;

symmetrically encrypting the altered cookie; and

sending the altered cookie to a client computer.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 31, 2017
From: CARPENTER, WILLIAM J.; JI, HAI; JI, ZI JIAN; LI, YUAN YUAN; MA, WEN BO; MI, JIA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 044509/0981 →
Continuity (2)
Continuation 15491397 · Apr 19, 2017
Related Publication 20180309837A1 · Oct 25, 2018