By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,164 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,164 IT Pros & Developers. It's quick & easy.

Integrating FormsAuthentication from asp.net in classic asp

P: 1
Hello everyone!

I have been recently tasked to create a single sign on beetwen two different sites. One is developed under asp.net and the other under classic asp. Problem is they have no integration point whatsoever. I need some guidance in how to achieve this, provided i'm a novice in both ASP.NET (little experience) AND classic ASP (totally new, plus i hate it). First step in order to make some progress is to allow the following:
  • Users input their credentials (username/password) in the ASP.NET system
  • Once verified, a cookie holding that information is created
  • Users click a redirection link
  • The cookie is passed to the ASP web
  • The ASP web check the credentials passed in the cookie and the user is logged in this system, and redirected to the home page

So, my first obstacle is the method to pass the cookie. I cannot use IIS wildcard mapping and such. It needs to be done with code. I was trying to follow this article, which seems to be exactly what i need:

http://www.santry.com/Blog/tabid/90/ID/1156/Creating-a-Single-Sign-on-for-ASPNET-Application-and-Legacy-ASP-Application-Part-II.aspx

Though it's not clear to me how to implement that, mainly because i have never used an API. So, in a few words: some advice that could help me use what's described in the article or an alternate method would be highly appreciated.

Thank you.
Jul 17 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.