简体   繁体   English

如何在客户端和自托管WCF服务之间创建会话

[英]How to create a session between client and self-hosted WCF service

My goal is to keep track of clients with cookies and their sessions. 我的目标是跟踪使用cookie的客户及其会话。 This is needed because I don't like WCF's builtin authentication process, where they are just give the generic login popup in the browser [ 1 ]. 这是必需的,因为我不喜欢WCF的内置身份验证过程,在WFM的内置身份验证过程中,只是在浏览器中提供通用的登录弹出窗口[ 1 ]。 I'm looking to have a login page and give the user the capability to logout. 我正在寻找一个登录页面,并为用户提供注销功能。 I don't want to use IIS at all to host my service. 我根本不想使用IIS来托管我的服务。 Is HttpContext the only way to maintain sessions/cookies? HttpContext是维护会话/ cookie的唯一方法吗? Is this possible in a selfhosted WCF Service? 自托管的WCF服务是否有可能? Is this possible with WebHttpBinding ? WebHttpBinding有可能吗? The closest post I could find to this one was: Sessions in self-hosted WCF services but it was unsatisfactory. 我能找到的最接近的帖子是: 自托管WCF服务中的会话,但效果不理想。

1 1个 验证弹出

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 具有相互SSL的自托管WCF服务(在服务和客户端之间)失败,403 Forbidden - Self-Hosted WCF Service with Mutual SSL (between Service and Client) fails with 403 Forbidden 自托管WCF数据服务中的会话支持 - Session support in self-hosted WCF Data Service 使用Javascript客户端的WCF自托管WebSocket服务 - WCF self-hosted WebSocket Service with Javascript client 具有证书客户端身份验证的自托管Wcf服务 - Self-Hosted Wcf Service with Certificate client authentication (可选)在自托管WCF服务中接受客户端证书 - Optionally accept client certificates in a self-hosted WCF service 从自托管 WCF 服务跟踪客户端 TLS 版本 - Track client TLS version from Self-Hosted WCF service 客户端无法连接到没有BaseAddress启动的自托管WCF服务 - Client Cannot Connect to Self-Hosted WCF Service Started with no BaseAddress WCF:从客户端回调处理程序调用自托管服务 - WCF: calling self-hosted service from client callback handler WCF是自托管的时,如何发布WCF服务元数据? - How to publish wcf service metadata when the wcf is self-hosted? 是否可以创建一个“可浏览”的自托管 WCF 服务? - Is it possible to create a self-hosted WCF service which is “browsable”?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM