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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 5/1/07, Harm de Laat <harmdelaat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 :) Thanks Akshay On May 1, 5:12 pm, "Greg Donald" <gdon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 5/1/07, Harm de Laat <harmdel...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 Donaldhttp://destiney.com/--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 5/1/07, sthapit <sthapit-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 :)Omnigraffle. -- Greg Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---