Jon DellOro
Jon DellOro

Reputation: 533

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. Associated with this web app is an old VB6 client application that has its own login system.

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.

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).

Is that possible??

Upvotes: 1

Views: 253

Answers (1)

Sky Sanders
Sky Sanders

Reputation: 37084

You can use Application Services. The were designed to accomplish this specifically.

Upvotes: 1

Related Questions