Last post Feb 24, 2011 09:49 AM by Vale
Feb 21, 2011 06:05 AM|Vale|LINK
If I have two "webroles" (azure), that are NOT using a shared custom state provider, is the "Session.SessionID" be the same in both?
It would make sense ,considering that both get the same cookie (because are in the same domain) and have the same machineKey, but I'm not sure...
Feb 23, 2011 03:14 AM|Wenchao Zeng - MSFT|LINK
Since cookie is domain based, if both two web roles use the same domain (with different ports),
session id will be the same.
But as they are not using shared session state provider, the default mode is in process. Thus, each web role
will have its own copy of session data because they run in different instances. So session state is not shared.
Hope this helps.
Feb 23, 2011 03:20 AM|amitpatel.it|LINK
Session ID is comobination of your applicaton domain and client connection uniqe key hence that is always differenet. and based on your session ID there are one separete instance for store each clients data in separate instance,
Feb 24, 2011 09:49 AM|Vale|LINK