Hi there, I have a RoR app but for one of the funcationality (photo uploads) I am using PHP. I need to know how I can share/access session information from RoR in PHP since the PHP also updates the database and the entry information is contained in the RoR sessions. Please advice. Thanks in advance. Adil --~--~---------~--~----~------------~-------~--~----~ 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 7 Feb 2008, at 18:23, Adil M wrote:> > Hi there, > > I have a RoR app but for one of the funcationality (photo uploads) I > am using PHP. I need to know how I can share/access session > information from RoR in PHP since the PHP also updates the database > and the entry information is contained in the RoR sessions. >What session store are you using? In all cases i think you''ll need to be able to unmarshal ruby objects from php. There are specs out there for the Marshal format. Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Are you set on using PHP? I like PHP but it would be simpler to stay within rails. Check out the rails plugin attachment_fu, I used this for photo uploads and it was really nice. http://clarkware.com/cgi/blosxom/2007/02/24 On Feb 7, 9:25 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 7 Feb 2008, at 18:23, Adil M wrote: > > > > > Hi there, > > > I have a RoR app but for one of the funcationality (photo uploads) I > > am using PHP. I need to know how I can share/access session > > information from RoR in PHP since the PHP also updates the database > > and the entry information is contained in the RoR sessions. > > What session store are you using? In all cases i think you''ll need to > be able to unmarshal ruby objects from php. There are specs out there > for the Marshal format. > > Fred--~--~---------~--~----~------------~-------~--~----~ 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 Feb 8, 2008, at 7:23 AM, Adil M wrote:> > Hi there, > > I have a RoR app but for one of the funcationality (photo uploads) I > am using PHP. I need to know how I can share/access session > information from RoR in PHP since the PHP also updates the database > and the entry information is contained in the RoR sessions. > > Please advice. > > Thanks in advance. > > Adil > >i have just edited added a note here to show how i achieved this using memcached see http://wiki.rubyonrails.org/rails/pages/PhpSession --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---