Logging in to multiple sites with the same credentials

W

Wael

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top