How (where) is the session data stored? And if the answer is "local store" (memory or persistent) then are requests always mapped to the same server?
--
You received this message because you are subscribed to the Google Groups "Express" group.
To post to this group, send email to expre...@googlegroups.com.
To unsubscribe from this group, send email to express-js+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/express-js?hl=en.
TJ has already mentioned timekeeping. And I'm assuming that you are using the same client in both cases, so it should be accepting and saving the session cookie in both cases, but you might check anyway. It's a good puzzle. Please post the answer when you find it.
That's strange. I've used a variety of servers for node... Windows, AWS EC2, Linode, etc. If you don't mind... What hosting service (if any) and what OS/machine image was not working for you? I'm not trying to call anyone out, but I (and presumaby others on this lust) would not want to go through what you did. I'm glad you found something that works!
Interesting. My production servers are running Ubuntu 11.04.
I get the idea that TJ is super busy and may not realize that what's obvious to experienced web developers may be a mystery to us.
I'm not ashamed to say that cookies confuse me sometimes. Maybe you could post a small example we could narrow down where to look. I think fundamentally, there are three questions: is the session cookie being sent to client? Is session cookie being stored by client? Is client sending session cookie back to server intact?