Caches that store session data.
Questions tagged [session-cache]
23 questions
20
votes
7 answers
Django project looking for "attribute '_session_cache'"
So I have a Django project that doesn't use a database (the 'DATABASES' setting is commented out). I chose to use Django as there's a chance I will need the database functionality in the future. Anyway, I've been working on and off of tbhis project…

user3908739
- 449
- 1
- 5
- 13
10
votes
3 answers
Hibernate query cache - for objects not in the 2nd level cache - risky? useful? bad practice?
Related to this question
Premise:
These are my assumptions, based on my reading, experience and understanding, they may be wrong, if they are, please comment and I'll edit the question.
Query cache is good mostly along with 2nd level cache
Query…

Eran Medan
- 44,555
- 61
- 184
- 276
7
votes
1 answer
Hibernate HQL only hits session cache
I am having some trouble understanding where an HQL query gets the information from. My project is using different threads and each thread reads/writes to the database. Threads do not share Session objects, instead I am using a HibernateUtil class…
user520288
6
votes
3 answers
How to enable hibernate query cache on a session level only?
What if I have a query that gets called multiple times in a single thread, and I just want to cache that query (and its result) for that thread (or for that session since I'm using one session per thread), how can I do that ?
Note: My 2nd level…

Franz See
- 3,282
- 5
- 41
- 48
4
votes
0 answers
apache's SSLSessionCache not working correctly with TLSv1.3 and graceful restart? (session-resumption)
I have a very simple httpd-setup with SSLSessionCache directive set so that sessions are available also after a graceful restart (in shared memory).
I then connect to the server with openssl s_client and the -sess_out parameter so i have a…

USP-dos
- 83
- 1
- 9
2
votes
1 answer
What is ideal place for storing user sessions openldap or redis
I am using openLDAP storing users. where should I keep user session details as it we need to track few user details for a session. What is Ideal place to store user sessions?
Thank you...

satish Bhor
- 101
- 6
1
vote
3 answers
How to update a collection-type relation with mappedBy in Hibernate?
I have two related entities, say
@Entity
public class Book {
@ManyToOne
Shelf shelf;
}
@Entity
public class Shelf {
@OneToMany(mappedBy="shelf")
Set books;
}
If I fetch an empty shelf (no books), create and persist a new book…

artemb
- 9,251
- 9
- 48
- 68
1
vote
1 answer
ASP.NET Does the Application/Session cache force application restarts?
I want this to be more of a discussion than anything.
So I have a website at www.utopiapimp.com. Right now it gets over 1 mil page views a day. There is a ton of dynamic data on this site that is always changing. Think "live stock ticker" but…

SpoiledTechie.com
- 10,515
- 23
- 77
- 100
1
vote
1 answer
what happens when javax.net.ssl.sessionCacheSize becomes full?
I am trying to analyse one of our applications running in production, and currently the value of javax.net.ssl.sessionCacheSize is set to 10000.
we are using java 17 in production, and by default in Java 17, value of javax.net.ssl.sessionCacheSize…

Ajay Kumar
- 586
- 5
- 21
1
vote
0 answers
Keycloak: Difference between Authentication sessions and User Sessions
I was going through the documentation
https://www.keycloak.org/docs/latest/server_installation/#cache
Here they have described different types of caches.
I didn't quite understand the definitions they provided for Authentication sessions and User…

MrRobot9
- 2,402
- 4
- 31
- 68
1
vote
1 answer
How to cache session with IBM WebSphere Liberty on AWS?
I would like to use AWS Elasticache for Liberty’s session caching, but it looks like Liberty's sessionCache-1.0 feature can only be used with JCache compliant storage. (like Hazelcast, Infinispan, etc...).
so please let me confirm.
Is this correct…

K.Tsuda
- 33
- 7
1
vote
1 answer
Does cached SSL session hold previous X.509 certificate info?
When we re-use previously saved SSL_SESSION,
does the reused SSL session have orignal X.509 peer certificate?
My code crashes very infrequently and investigation showed that
the SSL session is reused and the some fields of peer…

Chul-Woong Yang
- 1,223
- 10
- 17
1
vote
0 answers
Nullpointer Exception when injecting HttpRequest
I have a Liberty JAX-RS 2.0 Application on Bluemix. My goal is to use the Bluemix Session Cache Service as a central session storage.
In my interface, I inject the HttpRequest object like this:
@Path("/resource")
public class MyResource {
@Post
…

Tobias N. Sasse
- 252
- 1
- 12
1
vote
1 answer
Bluemix Session Cache: Trigger to evict cached data
I create Java web app on IBM Bluemix. This application shares session object among instances via Session Cache Service.
I understand how to program my application with session cache. But I could not find any descriptions if the total amount of…

Manabu Matsui
- 11
- 2
1
vote
2 answers
How can you use Spring Sessions with Redis Service in Bluemix? Is IBM Session Cache an alternative?
The current app (with a competitor) is using Spring-Boot and Spring-Sessions to save session data independent from the instance in Redis.
How can we replicate this in Bluemix?
Is there a way to add on Spring-Sessions to the Redis service?
The…

Susann Heidemueller
- 136
- 7