Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

Single sign on for multiple asp.net sites

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sudhaoncyberworld@gmail.com - 22 Aug 2007 16:08 GMT
Hi Techies

I have general question more similar to single sign on of sharepoint
site.

I have two asp.net sites SiteA and SiteB with forms authentication
enabled. Lets assume its available in same server. SiteA and SiteB
users and credential informations are same.

If UserA logged in SiteA using some credential, the same credential
must be used to authenticate SiteB from client side. How we can
acheive this?

In another way, the SiteA will have links to SiteB, when I click the
link I want to skip the login page of SiteB since I know the
credentials for SiteB, I want to internally authenticate from SiteA.
Is it possible?

Any help would be appreciated much,
Thanks
Sudha
Braulio Diez - 22 Aug 2007 19:54 GMT
Take a look at this link:

http://www.codeproject.com/aspnet/aspnetsinglesignon.asp

HTH
 Braulio

/// ------------------------------
/// Braulio Diez
///
/// http://www.tipsdotnet.com
/// ------------------------------

> Hi Techies
>
[quoted text clipped - 17 lines]
> Thanks
> Sudha
Ladislav Mrnka - 22 Aug 2007 20:16 GMT
Hi Sudha,
one way you can go if your applications are sitting on the same server is to
modify directory structure. Create one virtual directory with two
subdirectories (also virtual). Put your application into those sub
directories and login page into top directory.
Another more common way is described in Altair's post on Code Project as
already Braulio mentioned. This technique can be used only if your
application shares same subdomain.
If your application do not share subdomain you have to implement third
applicaton wich will log on users to your other applications. This is
possible if you  use cookiless authentication tickets and
enableCrossAppRedirects set to true:
  <authentication mode="Forms">
   <forms cookieless="UseUri" enableCrossAppRedirects="true" ... />
  </authentication>

Regards,
Ladislav

> Hi Techies
>
[quoted text clipped - 17 lines]
> Thanks
> Sudha

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.