问题
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