how to enable WCF Session with wsHttpBidning with Transport only Security

后端 未结 3 766
旧巷少年郎
旧巷少年郎 2020-12-03 09:04

I have a WCF Service currently deployed with basicHttpBindings and SSL enabled. But now i need to enable wcf sessions(not asp sessions) so i moved service to wsHttpBidnings

3条回答
  •  离开以前
    2020-12-03 09:54

    If you want "sessions" with wsHttpBinding, you have to use either reliable messaging, or the security sessions.

    To enable sessions on wsHttpBinding, you need reliable messaging, and for that, you need to change the setting for reliable session (the tag that looks like this ) to be enabled - so your new config would look like this:

    
        
          
          
          
            
              
            
          
        
      
    

提交回复
热议问题