Geekender
Geekender

Reputation: 809

Make ColdFusion accept ASP.NET credentials

How can I tell a ColdFusion server that my user is authenticated as XXXX credential? Currently they need to sign in from one server to the next. My primary web server is C#/ASP.NET and the older web server is ColdFusion. I would like once they use forms authentication to the primary server that ColdFusion recognize those credentials.

Upvotes: 0

Views: 197

Answers (1)

Erhan A
Erhan A

Reputation: 701

if the user remains on the same domain like "mydomain.com", you can create a cookie and store its value in DB with user reference id. when the user hits your coldfusion servers , read the cookie , validate it in your db and get the user information back.

don't forget to assign cookie domain as below:

cookie.Domain=".mydomain.com";

so other servers in different subdomains can read your cookie.

if the user does not remain on the same domain or if your web applications do not use the same domain , I can suggest you to use something like OAuth or implement one of your authentication system similar like FaceBook does.

Upvotes: 1

Related Questions