I haven''t used this, but this extension might help you:
http://wiki.rubyonrails.org/rails/pages/PhpSession
It appears to allow you to read and write to the PHP session file.
In theory, you could just authenticate in Rails, and update the PHP
session so your PHP pages are aware that the user is authenticated.
Tom
On 9/27/05, Jerry Gapinski
<jerry.gapinski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi
>
> We have a new backend written in Rails. We are using the Salted Login
> generator for Rails for authentication.
> (http://wiki.rubyonrails.org/rails/pages/SaltedHashLoginGenerator)
>
> This is used by a membership organization and works great.
>
> The public pages are PHP pages, some of which require authentication. Once
> authenticated, the user can see members only PHP pages. They should also be
> able to see their account info (add a payment, edit, etc.) in the new Rails
> app.
>
> Any suggestions on how to use one login (PHP or Rails) to stay logged into
> both the PHP pages and Rails app?
>
> TIA, Jerry
>
>
>
>
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>