Click to See Complete Forum and Search --> : passing login credentials


Metroid
09-17-2003, 06:17 PM
Not really a problem, but something i'd like to do. I want to have login credentials passed from one site to another. Basically, I'd like to grab the login user information and be able to pass it along without having to ask the user for their password again.

I admin four seperate sites on the same server. But the users have to logon to each specific server. Is there a way of doing that. I am running windows 2000. I do not have the sites setup as subweb but each individual site with their own internal ip address. Running IIS, not using fp (frontpage) extensions. Develop using Dreamweaver MX and Visual Studio.net, but find myself doing mostly custom coding. I think that is it. If you need to know any more info., please just ask. If you could just point me in the right direction, it would be much appreciated.

Thanks-in-advance

M.

PS - I use IIS for security.

Ribeyed
09-17-2003, 06:20 PM
any database?

Metroid
09-17-2003, 07:58 PM
I'm not sure what you are asking, but I think you are refering to Authentication.

Yes, we use Active Directory in an all Windows 2000 network. Users are controlled through Active Directory.

Ribeyed
09-18-2003, 03:25 AM
hi,
i'm asking if you have a database or if you will be using a database. If you have a database and all your websites use the same database they there should be no problem passing details from one site to another site, as long as they use the same database. If not then can't see any other way to make this happen.

buddha
09-18-2003, 05:53 AM
Another method, bit weird, is to store the users login credentials in a session then post them through a form to the next page through a querystring and pick them up at the other end with something like...

<% IF NOT Request.Querystring("userID") = "" THEN
Session("userID") = Request.Querystring("userID")
ELSE
Response.Redirect ("yourloginpage")
%>