Cookie

You might say

Login succeeds, but a refresh signs the user out. Help me check whether the session cookie is set and sent back with requests.

A cookie is a small piece of data the browser stores by server rules and sends automatically on matching later requests.For example, a login response uses Set-Cookie to store a session identifier. When the browser later visits a matching address, it sends a Cookie request header so the server can find the session. A cookie is only part of the request round trip, not a complete authentication system, authorization decision, or database; sensitive sessions also need properties such as Secure, HttpOnly, and SameSite.
HTTP Cookie
Further reading