Solved

Understnading the basics of Single Sign on via FormsAuthentication

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

688 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