Topic: Single login for rails app + php forum (beehive)

Hi,

I have set up a rails app and an associated beehive forum (http://www.beehiveforum.net/), both running from subdirectories on the same apache server, with separate databases on the same MySQL instance.

Can anyone suggest how I might go about implementing a single login for both the rails app and php forum, such that registering for one populates the user table of the other, and they can (somehow)

Re: Single login for rails app + php forum (beehive)

In order for that to work, your going to have to write some script outside of both of the sites that will sync up the values of both tables. You could use Ruby for this, or another scripting type language like Perl, Python, etc..

From there, you'll have to make a cron job to do the sync.