[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Understnading the basics of Single Sign on via FormsAuthentication

Posted on 2007-12-02
3
Medium Priority
?
240 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 1500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

650 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