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.Know first
HTTP Cookie
You can say this to an AI Agent
Ready to paste into Cursor, Claude Code, or CodexStructured AI Agent prompt
Check whether the login response sets a secure session cookie and whether the protected request after refresh sends it automatically. Do not print the full cookie value; use Network and Storage to verify the session survives refresh, while identity and authorization remain server-side.
Want your Agent to translate plain-language UI ideas automatically?Install free VibeHub Skill →
Further reading