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?

Regards,

Harm

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

http://trac.rorcms.com/trac/cms/browser/doc/cms.png

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

Thanks
Akshay

Omnigraffle.