SESSIONS in load balancing

Discussion in 'Installation/Configuration' started by Torsson, Oct 19, 2009.

  1. Torsson

    Torsson Member

    Im using Heartbeat to load balance 2 webservers and NFS share. Everything works fine now exept that php $_SESSIONS[] dosent work when it goes to web2 when im using RR (Round Robin). How can i solve this?. is it possible to maby store PHP cookies and sessions on the NFS share so both the servers accesses it from there?.
  2. falko

    falko Super Moderator ISPConfig Developer

    If you've set up MySQL master-master replication, I think the best would be to store sessions in the MySQL DB.
    Storing sessions on an NFS share should work as well.

Share This Page