Skip to content

Getting session_id from cookie? #1000

@littlehome-eugene

Description

@littlehome-eugene

I know session_id is stored in cookie and it is used to retrieve user info upon requests.

However when I look at the cookie value in chrome, and databasse (SPRING_SESSION table), there's no matching session_id.

Also, it perflexes me that SPRING_SESSION has primary_id as primary key and there's no index on session_id.

How can I get the session_id as in request.getSession.getId() from reading cookie ?

Metadata

Metadata

Assignees

Labels

for: stack-overflowA question that's better suited to stackoverflow.com

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions