How to see session attributes in GemFire Pulse/Gfsh when using Spring Session for Pivotal GemFire?

Fredie Thomas

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?

Juan Ramos

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Pivotal Gemfire NoAvailableLocatorsException

From Dev

How can you determine whether a Spring Data Gemfire query is using a Gemfire index?

From Dev

Error in SpEL while using Spring-Integration Gemfire support

From Dev

Java Config for Spring Gemfire xml

From Dev

Java Config for Spring Gemfire xml

From Java

How to use Session attributes in Spring-mvc

From Dev

Pivotal gemfire Index creation taking too much time

From Dev

How to use to_date in gemfire?

From Dev

how to configure gemfire in a HA mode

From Dev

What is the default session timeout and how to configure it when using the Spring Session with Redis as the backend

From Dev

Sharing data in spring session attributes

From Dev

Spring integration outbound channel for Gemfire to store payload

From Dev

Spring data gemfire support for subregion cache listener

From Dev

Custom cookie name when using Spring Session

From Dev

Using Gemfire on high volume transaction system

From Dev

GemFire put on server Region using JAVA

From Dev

How do Applications are being notified by Gemfire

From Dev

How to access gemfire cache from jdbc driver

From Dev

How to Determine Session ID when using SQL Sever session storage

From Dev

How's maven resolving the slf4j dependency of spring data gemfire?

From Dev

In Spring MVC, do I need to unbind bean objects bound to the session when I am done using the session scoped bean? If yes, how?

From Dev

Get and set attributes in session - Spring framework

From Dev

Not updating session attributes with spring web flow ajax

From Dev

Get and set attributes in session - Spring framework

From Dev

How to set the userprofile using session in spring without using spring security

From Dev

How to use use `with(user(` when using Spring Session/Security in REST environment

From Dev

Why spring-data-gemfire reposories do not use putAll?

From Dev

REQUIRES_NEW transactions in not supported by Spring data gemfire

From Dev

Spring Data GemFire 2.0.1.RELEASE is throwing an Initialization Error

Related Related

  1. 1

    Pivotal Gemfire NoAvailableLocatorsException

  2. 2

    How can you determine whether a Spring Data Gemfire query is using a Gemfire index?

  3. 3

    Error in SpEL while using Spring-Integration Gemfire support

  4. 4

    Java Config for Spring Gemfire xml

  5. 5

    Java Config for Spring Gemfire xml

  6. 6

    How to use Session attributes in Spring-mvc

  7. 7

    Pivotal gemfire Index creation taking too much time

  8. 8

    How to use to_date in gemfire?

  9. 9

    how to configure gemfire in a HA mode

  10. 10

    What is the default session timeout and how to configure it when using the Spring Session with Redis as the backend

  11. 11

    Sharing data in spring session attributes

  12. 12

    Spring integration outbound channel for Gemfire to store payload

  13. 13

    Spring data gemfire support for subregion cache listener

  14. 14

    Custom cookie name when using Spring Session

  15. 15

    Using Gemfire on high volume transaction system

  16. 16

    GemFire put on server Region using JAVA

  17. 17

    How do Applications are being notified by Gemfire

  18. 18

    How to access gemfire cache from jdbc driver

  19. 19

    How to Determine Session ID when using SQL Sever session storage

  20. 20

    How's maven resolving the slf4j dependency of spring data gemfire?

  21. 21

    In Spring MVC, do I need to unbind bean objects bound to the session when I am done using the session scoped bean? If yes, how?

  22. 22

    Get and set attributes in session - Spring framework

  23. 23

    Not updating session attributes with spring web flow ajax

  24. 24

    Get and set attributes in session - Spring framework

  25. 25

    How to set the userprofile using session in spring without using spring security

  26. 26

    How to use use `with(user(` when using Spring Session/Security in REST environment

  27. 27

    Why spring-data-gemfire reposories do not use putAll?

  28. 28

    REQUIRES_NEW transactions in not supported by Spring data gemfire

  29. 29

    Spring Data GemFire 2.0.1.RELEASE is throwing an Initialization Error

HotTag

Archive