Single signon using forms authentication in ASP.NET

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,812
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 5, 2010

This video explains single sign on using ASP.NET forms authentication. This video create a simple ASP.NET project with forms authentication. We then create 2 website , now when we login to one website the other website pages can also be browsed.

For more free articles, interview questions and video tutorials, please visit http://www.questpond.com/

Link to this comment:

Share to:

Uploader Comments (dnfvideo)

  • yes, but all of your websites must be on the same domain. In your case, "localhost". As I understand it, browsers won't pass a cookie between 2 seperate domains.

  • @mytonytiger Hi , No it can be on a different domain and on complete different servers thats why the machine key is entered. In my example i had kept different virtual directories it was not in one single localhost virtual directory as us.

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Same application pool can be associated with multiple applications (virtual directories). Basically, there is one w3wp.exe process associated with a applcation pool and there can be multiple AppDomains inside this process for each application associated with that pool. So, applications are separated by AppDomain.

  • @dnfvideo I understand machine keys and encryption, but Cookies are stored based on the domain name. How is it then that domain A can have access to domain B cookies? In your example, while they are both in seperate virtual directories, they are still in the same domain "localhost".

  • can you tell me the defference between AppDomain and Application pool? This is one of the question I have been asked in an interview and my answer was both are same, and used to isolate the applications so that if there is an issue with one application it will not effect the other application which is in other application pool. Plz tell me wheather I am right or wrong.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more