Methods and apparatus to identify session users with cookie information
US-9467519-B2 · Oct 11, 2016 · US
US10645177B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10645177-B2 |
| Application number | US-201715491397-A |
| Country | US |
| Kind code | B2 |
| Filing date | Apr 19, 2017 |
| Priority date | Apr 19, 2017 |
| Publication date | May 5, 2020 |
| Grant date | May 5, 2020 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
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.
Opening claim text (preview).
What is claimed is: 1. A method for detecting a session status based on a cookie associated with the session, the method comprising: receiving, by a server computer, an access request to a specified location associated with the server computer; determining, by the server computer, that the received access request has the cookie corresponding with the specified location, wherein the cookie is symmetrically or unsymmetrically encrypted, and wherein the server computer holds a cryptographic key to decrypt the cookie; determining, by the server computer, that the server computer cannot decrypt the cookie corresponding with the specified location; performing, by the server computer, a reauthentication process to obtain a unique session identifier, wherein the unique session identifier is comprised of a string of numbers specific to a client computer; generating, by the server computer, a new cookie based on obtaining the unique session identifier, wherein the new cookie contains a last refresh time set by the server computer, wherein the last refresh time is encrypted in the new cookie to prevent a fake instance of the client computer, and wherein the last refresh time is not saved on the server computer; storing, on and by the server computer, a refresh interval value representing a period of time in which the specified location associated with the server computer may idle, and an overdue value representing a period of time which exceeds an idle time and which may not require the reauthentication process, wherein the last refresh time is updated when the overdue value is reached; and sending, by the server computer, the new cookie to the client computer. 2. The method of claim 1 , further comprising: retrieving, by the server computer, the last refresh time from the new cookie; and determining, by the server computer, the session status based on the retrieved last refresh time, a current request time, a refresh interval value, and the overdue value. 3. The method of claim 2 , further comprising: querying, by the server computer, the current request time; decrypting, by the server computer, the new cookie to obtain the last refresh time contained within the new cookie; and retrieving, by the server computer, the refresh interval value and the overdue value. 4. The method of claim 2 , wherein determining the session status based on the retrieved last refresh time, a current request time, the refresh interval value and the overdue value further comprises: determining, by the server computer, that the session expired based on calculating that a difference value corresponding to the current request time and the last refresh time is greater than or equal to an aggregate value corresponding to the refresh interval value and the overdue value. 5. The method of claim 4 , wherein determining that the session expired further comprises: generating, by the server computer, a second new cookie; setting, by the server computer, the last refresh time; and saving, by the server computer, the refresh interval value and the overdue value. 6. The method of claim 2 , wherein determining the session status based on the retrieved last refresh time, a current request time, the refresh interval value and the overdue value further comprises: determining, by the server computer, 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; determining, by the server computer, that the difference value is not greater than or equal to the refresh interval value based on determining that the session is valid. 7. The method of claim 2 , wherein determining the session status further comprises: determining, by the server computer, 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; determining, by the server computer, that the difference value is greater than or equal to the refresh interval value based on determining that the session is valid; altering, by the server computer, the new cookie with an updated last refresh time based on determining that the difference value is greater than or equal to the refresh interval value; and sending, by the server computer, the altered new cookie to a client computer. 8. A computer system for detecting a session status based on a cookie associated with the session, comprising: one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising: receiving, by a server computer, an access request to a specified location associated with the server computer; determining, by the server computer, that the received access request has the cookie corresponding with the specified location, wherein the cookie is symmetrically or unsymmetrically encrypted, and wherein the server computer holds a cryptographic key to decrypt the cookie; determining, by the server computer, that the server computer cannot decrypt the cookie corresponding with the specified location; performing, by the server computer, a reauthentication process to obtain a unique session identifier, wherein the unique session identifier is comprised of a string of numbers specific to a client computer; generating, by the server computer, a new cookie based on obtaining the unique session identifier, wherein the new cookie contains a last refresh time set by the server computer, wherein the last refresh time is encrypted in the new cookie to prevent a fake instance of the client computer, and wherein the last refresh time is not saved on the server computer; storing, on and by the server computer, a refresh interval value representing a period of time in which the specified location associated with the server computer may idle, and an overdue value representing a period of time which exceeds an idle time and which may not require the reauthentication process, wherein the last refresh time is updated when the overdue value is reached; and sending, by the server computer, the new cookie to the client computer. 9. The computer system of claim 8 , further comprising: retrieving, by the server computer, the last refresh time from the new cookie; and determining, by the server computer, the session status based on the retrieved last refresh time, a current request time, a refresh interval value, and the overdue value. 10. The computer system of claim 9 , further comprising: querying, by the server computer, the current request time; decrypting, by the server computer, the new cookie to obtain the last refresh time contained within the new cookie; and retrieving, by the server computer, the refresh interval value and the overdue value. 11. The computer system of claim 9 , wherein determining the session status based on the retrieved last refresh time, a current request time, the refresh interval value and the overdue value further comprises: determining, by the server computer, that the session expired based on calculating that a difference value corresponding to the current request time and the last refresh time is greater than or equal to an aggregate value corresponding to the refresh
Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding · CPC title
wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30) · CPC title
for remote control or remote monitoring of applications · CPC title
for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32) · CPC title
based on web technology, e.g. hypertext transfer protocol [HTTP] · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.