Skip to main content
Inspiring
Nov 17, 2010 10:39 PM UTC
Question

Running CF in an ASP environment

I have been running CF pages on our Windows 2003 server for some time.  The pages have been very popular, and my company has asked that I include them on our corporate web site.  However, the corporate web has a login authentication process that is based on an asp code.  It would not be practical to request the visitors to authenticate a second time.  So I have to ask whether there any way that I can cfinclude or use some other technique that will allow the asp authentication code to run when a CF page is executed?  If not, is there a way that I can pick off the cookie created in the asp routine and somehow use it for authentication purposes on my coldfusion pages?  Or can I pick off the session variables that are created when the users enters the corporate site and use them in the CF login routine?

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Owainnorth
Inspiring
Nov 18, 2010 7:51 AM UTC

As long as both technologies are running within the same site, I don't believe there's any reason why CF couldn't read a cookie created by ASP.


Is this classic ASP or ASP.NET? If it's the latter then write all your authentication into .NET classes and use createObject('.net') to call them, should do the trick.

Translate