Jump to content

How to handle sessions with multiple servers?


StefanKittel

Recommended Posts

Hello,

i want to create a cluster to host presta in the current version.

The cluster contains 4 server:
- Load Balancer, memcached
- DB Server
- Webnode 1
- Webnode 2

So i need to change session handling to use memcache.
I found no settings in presta.

When I change the session.save_handler in the php.ini it looks fine in the frontend, but the backend craches.
{"exception":"[object] (RuntimeException(code: 0): Failed to start the session at /var/www/share/shop/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:146)"

So how to change the session handling in presta to memcached?

Stefan

Edited by StefanKittel (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...