ASMX Web 服务身份验证

发布于 2024-10-09 03:43:19 字数 82 浏览 0 评论 0原文

我想仅在第一个 Web 方法调用时验证 Web 服务用户的身份使用他的身份进行其他 Web 方法调用。

Web服务如何维护用户身份?

I want to authenticate web service user on first web method call only & use his identity for other web method calls.

How web service maintain the user identity?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦与时光遇 2024-10-16 03:43:19

ASMX Web 服务仅支持 IIS 直接支持的身份验证类型。

或者,您可以使用 SOAP 标头实现您自己的身份验证,但您的身份验证代码必须是完美的。

ASMX web services only support the types of authentication directly supported by IIS.

Alternatively, you could implement your own authentication using SOAP Headers, but then your authentication code has to be perfect.

少女情怀诗 2024-10-16 03:43:19

您可以使用 2.0 或 cookie 设置会话,然后传递数据会很容易。
让我知道。

You can set up a session using 2.0 or a cookie and than passing the data will be easy.
Let me know.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文