Comments (4)
on server failover, it creates a new sessionid.
We run three servers.
A http session is created with the HZ session id "HZ87EEE832D65749F5825F497D5D117914", on server1,
If server1 goes down requests are redirected to server2 and a new HZ session is created "HZ740B5BB492CA48B7BFAF12224BDAF1D9"
Why is it creating a new session id? Is there anythig we need to do in config?
from hazelcast-code-samples.
@RubavathiSrinivasan please, share your https server (load balancer) details.
Thank you
from hazelcast-code-samples.
@gAmUssA after added the cookie 'hazelcast.sessionId' and sticky session changes, it works fine now. But we need to maintain two session cookies, JSESSIONID and hazelcast.sessionId, is it possible to achieve session replication using JSESSIONID alone(especially on cluster failover) ? There are no clustered maps for originalsessionid as key and hazelcast.sessionId as value.
from hazelcast-code-samples.
JSESSIONID
is controlled by web container and created if a new request comes into it. hazelcast.sessionId
is used as clusterwide session id so that in case of failover new server figures out what session data is available for the new JSESSIONID
.
To answer your question,JSESSIONID
only is not sufficient for session replication.
This repository is not right place to discuss this. Can you please continue on Google Groups if you still have questions?
Thanks for using Hazelcast!
from hazelcast-code-samples.
Related Issues (20)
- Documentation: Kubernetes on Minikube for WAN
- Why are the samples using /hazelcast/health/node-state for OpenShift/Kubernetes readiness & liveness probe? HOT 2
- Configure XML does not work anymore HOT 4
- Where is the log history for each new release? HOT 2
- DistributedObjectDestroyedException: AtomicValue[xxx] is already destroyed! HOT 1
- 'SPI: Implementing tenant control 0.1-SNAPSHOT' does not compile HOT 2
- Faild to Build ocp-demo-frontend-s2i
- Is it possible to keep data sorted?
- serialization/benchmark cannot be compiled with JDK 8 + checkstyle violations
- Dependency org.apache.mina:mina-core, leading to CVE problem HOT 1
- Code sample 'Serialization: Compact' cannot be compiled with current HZ master
- UPDATE sql statement
- Getting memory leak error when upgrading hazelcast version to 3.11 from 3.10.7
- hazelcast code sample for XA transactions no longer works with current Atomikos version (5.0.9) HOT 4
- Update Neo4j driver in KafkaConnectSample after migration to JDK11
- Jet-jms module cannot be compiled with current HZ master
- `hazelcast-code-samples` compilation error HOT 1
- Update of protobuf from 3 to 4 in Hazelcast causes compile errors in jet-grpc and jet-protobuf modules HOT 1
- Need samples of using GenericMapLoader and/or GenericMapStore
- How to use DataConnectionConfigs in MapStore and MapLoader
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hazelcast-code-samples.