We are able to save/retrieve data to/from GemFire through Spring Session management.
session.getAttribute(sessionKey) // session is from gemfire.
In GemFire Pulse, we are able to see the session ID by using the query...
select * from /regionName.keySet
How do we see the attributes and values stored against a particular session id?
The short answer is "you can't", at least not using pure GemFire API, which includes gfsh
, PULSE
and/or direct OQL
execution through the QueryService
.
You might, however, achieve this use case programmatically using the Spring Repository
abstraction; specifically through the FindByIndexNameSessionRepository
, already supported by Spring Session for Apache Geode/Pivotal GemFire.
Hope this helps.