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 / September 2007

Tip: Looking for answers? Try searching our database.

Logging in to multiple sites with the same credentials

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wael - 19 Sep 2007 20:40 GMT
Hello,

I am not sure if this group is appropriate for this question. We are
using ASP.Net and we have several unrelated sites running on a couple
of web servers. Each site is linked to an SQL database. As it is, we
keep a seperate table for each site to hold the login information.

It was requested that we have one login page from the main company
site that will direct the user directly to their site. How can this
be
done? Since each group of sites have their connection pool and i
don't
want to pass the login information in the Response.Redirect.

We thought of passing the information encrypted along with the
sessionid, so that even if the browser keeps the information in the
history, the user would still have to login from the site.

Any ideas?

By the way, the idea is that the client gets a chance to look at our
services from the main site. Our clients login from public places, so
they have to type their username and password everytime.

thanks
Peter Bromberg [C# MVP] - 19 Sep 2007 22:00 GMT
If you use Forms Authentication on each site,
and the MachineKey settings are fixed (not "autogenerate")
and the site number e.g. .../W3Svc/"1" is the same on each
machine, and allowCrossAppRedirects is true in your Forms
settings in web.config, and the username / password/hash
values are the same in each Users SQL Server table, then
you should be able to have the user authenticated with the same
credentials on each site.
-- Peter
Recursion: see Recursion
site:  http://www.eggheadcafe.com
unBlog:  http://petesbloggerama.blogspot.com
BlogMetaFinder:    http://www.blogmetafinder.com

> Hello,
>
[quoted text clipped - 21 lines]
>
> thanks

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.