Hi, I have an application that has the url www.app.com and everything works fine using ssl_requirement plugin I redirect to https://www.app.com and my customer can checkout without issues. BUT now I need to setup the application where the checkout process is redirected to https://secure.app.com. The issue is that when they are redirected I loose the cookie. (Or rather the cookie is only valid for the original www.app.com.) Anyone have an idea where I should start looking? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Roger Pack
2008-Sep-23 18:31 UTC
Re: Shopping cart with different secure url than application
heimdull wrote:> Hi, > > I have an application that has the url www.app.com and everything > works fine using ssl_requirement plugin I redirect to > https://www.app.com > and my customer can checkout without issues. BUT now I need to setup > the application where the checkout process is redirected to > https://secure.app.com. > > The issue is that when they are redirected I loose the cookie. (Or > rather the cookie is only valid for the original www.app.com.) > > Anyone have an idea where I should start looking?I think the only way is to have an IP based "sharing between sessions" or something like that. GL. -=R -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
Rob Biedenharn
2008-Sep-23 18:36 UTC
Re: Shopping cart with different secure url than application
On Sep 23, 2008, at 2:10 PM, heimdull wrote:> Hi, > > I have an application that has the url www.app.com and everything > works fine using ssl_requirement plugin I redirect to https://www.app.com > and my customer can checkout without issues. BUT now I need to setup > the application where the checkout process is redirected to > https://secure.app.com. > > The issue is that when they are redirected I loose the cookie. (Or > rather the cookie is only valid for the original www.app.com.) > > Anyone have an idea where I should start looking?Set the domain for the cookie to be app.com (Or send a cookie to secure.app.com) -Rob Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---