It's been a while since I've thought about this basic component of running a webapp, but I want to revisit it.
I'm building an app on CentOS7 with Tomcat as my webapp server. It works great. That said, considering the app is a straighforward app with standard login mechanisms, what is the best way to manage user sessions? I plan on deploying multiple vServers of the app. I'll start with 3 vm's running the same app. I have a load balancer that will use sticky sessions to map users to one particular webserver as long as that webserver is healthy. How should I manage cookies and sessions? Should I create a cookie in the user's browser that links it to a specific webserver, or should I create a database table and store cookies in there, assuming that in doing so, the users aren't locked in to any one specific web server. I'm going to continue investigating this via google and searching, but if anybody has any input it would be greatly appreciated. -Jason -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
