Solved

Understnading the basics of Single Sign on via FormsAuthentication

Posted on 2007-12-02
3
231 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

17 Experts available now in Live!

Get 1:1 Help Now