dt2015 2015-10-27 23:05
浏览 91

同一服务器上的2个Laravel应用程序之间的数据库冲突

I have two applications (App 1 and App 2) on the same server (Laragon) with two separate databases. They each have separate app keys and I've changed the name of the session variable so that they're unique, but for some reason I keep getting data from App 2 saved to the App 1 database. It doesn't happen all the time, maybe 1 in every 100 commits to the database but I have no idea why it would be happening. The apps were originally the one code base but I had to separate them due to differences at both the locations the apps are for.

Every now and then you get logged out for no reason as well. I'm using the default authentication system in Laravel 5.

Has anyone had anything like this happen before, or have I missed any other settings that should be different between the apps?

The apps are on a Windows server sitting inside Laragon and the database is an MSSQL database.

Thanks for your help

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 在获取boss直聘的聊天的时候只能获取到前40条聊天数据
    • ¥20 关于URL获取的参数,无法执行二选一查询
    • ¥15 液位控制,当液位超过高限时常开触点59闭合,直到液位低于低限时,断开
    • ¥15 marlin编译错误,如何解决?
    • ¥15 有偿四位数,节约算法和扫描算法
    • ¥15 VUE项目怎么运行,系统打不开
    • ¥50 pointpillars等目标检测算法怎么融合注意力机制
    • ¥20 Vs code Mac系统 PHP Debug调试环境配置
    • ¥60 大一项目课,微信小程序
    • ¥15 求视频摘要youtube和ovp数据集