single sing on with PHP

Hi all,

For our next project we are required to integrate a rails application with a PHP application.
The PHP application is going to be used to authenticate users. When the user is logged into the PHP application, the user should automatically be logged into the Rails application (Single Sign On).

What might be a good strategy to achieve this result? Maybe somebody did something like this before?



Cookies are the easiest way I have found. With a little effort you
could use sessions.. PHP sessions are plain text but ActiveRecord
sessions are serialized by default.

Hi Greg. I was quickly browsing your site and came across your
database schema

I was wondering what program you used to create it :slight_smile: