解决方案都是使用:如apache使用mod_jk.conf。 在开发spring boot app的时候可以借助 spring session 和redis,用外置的redis来存储session的状态。