Skip to content

Tag: session

How to remove no longer valid Gauges

I use the Prometheus Java Client to export session information of my application. We want to show how long sessions have been idle. The problem is that we have a maximum of 1000 sessions and sessions are removed after a certain period. Unfortunately they do not disappear from Prometheus: My code looks like this: I tried to do sessionInactivity.clear() during

How to deal with Sessions in Google App Engine?

I am successfully creating sessions in servlet and I can get sessions/ session attribute to jsp but not in endpoints class. I want to get the sessions info in endpoints classes. Please help me with this. I am using maven in eclipse and I enabled sessions in appengine-web.xml I read an article about this also except how to enable session