Solved

Understnading the basics of Single Sign on via FormsAuthentication

Posted on 2007-12-02
3
235 Views
Last Modified: 2011-09-20
I need to manually do SSO via FormsAuthentication (on ASP.NET 2.0) but i'm struggling on the basics, i'm sure this is a very easy question but going to ask it anyway...

I'm using Single sign on and Formauthenticion, however for the life of me i can get this to work, all i need to do is have one local application Authenticating another local application - but unfourtunitly they both use different ports and as such i'm told this equates to different domains, so with this in mind i'm finding it very difficult to produce a proof of concept of this.

I've found this amazing article http://blogs.neudesic.com/blogs/michael_morozov/archive/2006/03/17/72.aspx 

But still can't get any of these to work, does anyone know of any sample code that demos this process using local webistes? e.g.

http://localhost:1812/Web/
http://localhost:4281/WebSite8/Default.aspx

0
Comment
Question by:paulCardiff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 37

Expert Comment

by:samtran0331
ID: 20391737
Are you using the Visual Studio "internal" webserver?
It works well enough  to test/debug apps...but for a proof of concept demo of something like this, I would suggest setting up real IIS virtual directories...or something that is closer to the production environment.

The VS "server" is just not a real web server and most likely why you can't get the samples from that article to run.
0
 

Author Comment

by:paulCardiff
ID: 20391792
I agree that is a possibility but the problem i'm mid way through writing these and there turning into some pritty big pages - so ideally i'd like to be able to debug these via the Visual Studio "internal" webserver - is this possible?
0
 
LVL 37

Accepted Solution

by:
samtran0331 earned 500 total points
ID: 20393054
I just haven't ever seen enough in-depth documentation on the inner workings of the VS internal server.
I do know the internal server is built upon the Cassini project which is an application to serve ASP.Net pages written completely in c#.
And as such, it isn't a "web server" project and was never intended to be, it was written as "a way to serve ASP.Net web pages without a web server" and as it isn't a real web server, I wouldn't trust it to behave like IIS or a real web server environment.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question