On Thursday, August 21, 2014 3:37:27 PM UTC+1, Johnny wrote:
>
> No, every request is to 'www.mydomain.com'.
>
> Thanks.
>

Can you reproduce this in a browser you control? Would be interesting to 
see what cookies the browser thinks it is storing for your domain.

Fred

 

>
>
> On Thursday, August 21, 2014 9:52:04 AM UTC-4, Frederick Cheung wrote:
>>
>>
>> On Wednesday, August 20, 2014 9:57:57 PM UTC+1, Johnny wrote:
>>>
>>> I'm having an issue with my Rails 3.2.19 app.
>>> If someone is idle on our site for 20 minutes and they had items in 
>>> their cart, then on their next request, we clear their cart, redirect them 
>>> to the homepage and display a message telling them that their session 
>>> expired.
>>>
>>> Roughly this is what happens:
>>>
>>>    - User clicks anywhere
>>>    - before_filter in application_controller determine that user 
>>>    session has expired and that they had items in their cart
>>>    - we destroy their session via `reset_session`
>>>    - we set up a new session for them
>>>    - we redirect them to the home page.
>>>
>>>
>> Are any of these  on different subdomains (eg some pages on 
>> www.example.com and some on example.com) ? If you had one session cookie 
>> set for example.com and another for www.example.com (or some other 
>> subdomain) then you might see something like this,
>>
>> Fred
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/83210821-95e8-4c72-b683-d0dfa989f2f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to