vendredi 27 avril 2012 11:06
Can a user's session be distributed on multiple servers on azure cloud? (at the time of session start or runtime)
If a user session is distributed on multiple servers then will it create any problem?
Toutes les réponses
vendredi 27 avril 2012 17:30the Session State provider for Windows Azure Caching may be what you are looking for
dimanche 29 avril 2012 01:03
You can access session state from multiple web roles / servers in Windows Azure. To do so, you either need to store the session data in SQL Azure or in the AppFabric cache. (using SQL Azure is a bit quirky, but it can be done). Just don't use InProc mode.
With this approach, you can access session state for one user from only one server at a time in R/W mode. The session provider applies a lock that prevents multiple servers (or pages) from accessing the same record at the same time. The lock isn't applied in read-only mode, though (set with EnableSessionState="ReadOnly" on the @Page directive).
- Marqué comme réponse Arwind - MSFTModerator jeudi 3 mai 2012 10:28