How to create a session in PHP when there is a session on the same domain in Rails?
Posted
by Tony
on Stack Overflow
See other posts from Stack Overflow
or by Tony
Published on 2010-06-02T12:09:45Z
Indexed on
2010/06/02
12:13 UTC
Read the original article
Hit count: 232
I have a Rails app on a subdomain - xyz.domain.com, and a PHP app on another subdomain - abc.domain.com
When a user is logged into the Rails app, I would like to give them a session so that I can log certain events about that user in the PHP app but in the same database of the Rails app. I would essentially just expose an API that requires authentication.
What is the best way to go about this? I am not storing the session in a database
© Stack Overflow or respective owner