On Friday, August 22, 2014 6:56:36 PM UTC+1, Johnny wrote:
> I have been unsuccessful in my attempts to reproduce it locally.
> 
> 
> "Would be interesting to see what cookies the browser thinks it is storing 
> for your domain."
> I'm not sure what you mean by this.  I have been able to decode each cookie 
> and see the contents.  One is just the old cookie data, and one is the new.
> 
> 
> Do you know of any way to check the path associated with a cookie string?
> 

You'd be able to see that in the browser, if you could reproduce it - that's 
what I meant. I don't think that data is sent to the server. 

Fred


> 
> 
> 
> On Friday, August 22, 2014 10:00:12 AM UTC-4, Frederick Cheung wrote:
> 
> 
> 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 anywherebefore_filter in application_controller determine that 
> user session has expired and that they had items in their cartwe destroy 
> their session via `reset_session`we set up a new session for themwe 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/3615489f-34a9-42cc-9d84-bbbd7cfd3a32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to