简体   繁体   English

从.NET客户端应用程序设置表单身份验证cookie

[英]Setting a Forms Authentication cookie from a .NET client application

We currently have a .NET 2.0 web app that uses forms authentication via cookies. 我们目前有一个.NET 2.0 Web应用程序,该应用程序通过Cookie使用表单身份验证。 Associated with this web app is an old VB6 client application that has its own login system. 与该Web应用程序关联的是一个旧的VB6客户端应用程序,它具有自己的登录系统。

Currently, the users have to login to the VB6 app, and then when they click on a link, need to authenticate themselves again with the .NET forms authentication system. 当前,用户必须登录到VB6应用程序,然后单击链接时,需要使用.NET表单身份验证系统再次进行身份验证。

I'm wondering if it's possible to create a client side .NET application, give it the username and password, and set the forms authentication cookie (without the browser being opened). 我想知道是否可以创建客户端.NET应用程序,为其提供用户名和密码,以及设置表单身份验证cookie(无需打开浏览器)。

Is that possible?? 那可能吗??

You can use Application Services . 您可以使用应用程序服务 The were designed to accomplish this specifically. 专为实现此目的而设计。

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

相关问题 .NET表单身份验证cookie在其他应用程序中无法访问 - .NET forms authentication cookie not accessible in another application 表单身份验证 - 需要 SSL - 设置身份验证 Cookie 失败 - Forms Authentication - Require SSL - Setting Authentication Cookie Fails Windows窗体应用程序中的ASP.NET身份验证 - ASP.NET authentication from a Windows Forms application .Net核心身份验证设置cookie路径后失败 - .Net core authentication fails after setting cookie path 在ASP.NET表单身份验证中动态设置默认URL - Dynamically setting default url in asp.net forms authentication .NET CAS客户端表单身份验证配置路径=“ / ApplicationName /”混乱 - .NET CAS Client Forms Authentication Configuration path=“/ApplicationName/” confusion NET应用程序的Django身份验证 - Django Authentication from .NET Application .net Web应用程序是否可以在“表单”和“ Windows”中使用身份验证 - Can we use Authentication in 'Forms' and as well in 'Windows' for a .net web application 通过VPN从.NET客户端进行域身份验证 - Domain Authentication from .NET Client over VPN 为什么默认的ASP.NET Forms Authentication Cookie在其默认名称中具有前导句点=>“。ASPXAUTH” - Why does the default ASP.NET Forms Authentication Cookie have a leading period in it's default name => “.ASPXAUTH”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM