duanji7182 2019-06-18 13:18
浏览 71

PHP 7.2.17删除自定义会话文件夹

This is a bit of a multi part question. First part it a problem with PHP 7.2.17 on CentOS 7.6.1810 with Apache 2.4.6. I'm running the latest Joomla 3.9.x. When I turn on PHP session handling instead of database it works fine with the default session folder. If I set a custom folder the entire ./session folder is removed, I'm guessing on a cron or other job. Can someone point me in the right direct to get that figured out?

php_value session.save_path /var/www/vhosts/domain.com/session/

The reason for the custom session folder is the need for load balancing. I use AWS for hosting and setup an ELB with multiple ec2 instances. The event site gets a ton of traffic over a 5 day period, then falls back off so I can put it back on my shared hosting instance. I'm concerned that if a user hits one server, Joomla creates a session, then they happen to bounce to another instance they will lose their session since it wasn't with that instance.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
    • ¥20 腾讯企业邮箱邮件可以恢复么
    • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
    • ¥15 错误 LNK2001 无法解析的外部符号
    • ¥50 安装pyaudiokits失败
    • ¥15 计组这些题应该咋做呀
    • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
    • ¥15 让node服务器有自动加载文件的功能
    • ¥15 jmeter脚本回放有的是对的有的是错的
    • ¥15 r语言蛋白组学相关问题