Solved

Understnading the basics of Single Sign on via FormsAuthentication

Posted on 2007-12-02
3
232 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now