Can you give me a scenario when you would use "Allowed" as the SessionMode value in a WCF service contract?
Asked
Active
Viewed 822 times
1 Answers
0
When you want to support both bindings which support sessions (e.g., a rich client) and those who don't (e.g. a browser-based client). If there is a session, you simply use the session, and if there's not, you'd either use a non-session-dependent codepath, or you'd use another mechanism to store the session information (such as HTTP cookies, for example).

carlosfigueira
- 85,035
- 14
- 131
- 171