Jump to content

RossCoDe

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by RossCoDe

  1. Hello, I have a load balanced setup and I want to have WHMCS on there for my billing but I'm having a lot of issues. 1 load balancer - handles traffic 2 app (website) servers - identical servers, identical files, basically they're mirrored/replicas 1 database/cache server - this holds the centralised database for the 2 app servers and handles sessions. I can't seem to get the sessions to work properly. In my PHP ini file, I have tried both memcache and redis, pointing to the cache server IP, I know this is working as my CMS is using the same setup and it works perfectly. The CMS is based on Laravel. So for testing, I disabled one app server. If I use either memcache or redis as the session handler, I can log in to WHMCS admin but I cannot save any forms due to token missmatch and I cannot access the settings area as the confirm identity won't work. Same goes for the front end, I can login as a user but saving details doesn't actually save - it just goes back to the main account page. Stick the session handler back to files and it works - but then this won't work when I fire up the second app server due to the load balancer randomly placing a user on which ever server. I have to assume there's companies out there using WHMCS on a load balanced setup - can someone please help with the sessions side as it's getting to the point where I'm about to give up. Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated