Auto login of an PHP app and Bitnami Redmine

最后都变了- 提交于 2019-12-24 18:06:09

问题


Is there any possibilities that when I log in to my PHP app, I can automatically logged in to Bitnami Redmine and vice versa?


回答1:


Sounds like a session sharing...

I implemented the similar for WordPress, that is you need:

  • Patch Rails to make them store sessions in JSON (not Ruby-specific Marshal). I did this in my RedPress plugin for Redmine - so you can use it.
  • Use Rails session in your PHP app. I did this in my WordMine plugin for WordPress - so you can use it as a sample.


来源:https://stackoverflow.com/questions/20199904/auto-login-of-an-php-app-and-bitnami-redmine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!