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

On 5/1/07, Harm de Laat [email protected] wrote:

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.


Greg D.
http://destiney.com/

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

On 5/1/07, sthapit [email protected] wrote:

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:

Omnigraffle.


Greg D.
http://destiney.com/