|
 |
asp_web_howto thread: NT4 ID Redirect
Message #1 by "John P. Miller" <jpmiller@a...> on Tue, 4 Dec 2001 09:33:38 -0500
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C17CA6.C11552A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
I have a secure Intranet site that uses NT 4.0 UserIDs and
passwords. I would like to setup a login redirection where I do a
response.redirect based on the user id. How do I do this? Is there a
server variable for the NT UserID? Also, is it possible to redirect
based on the user's group instead of the user name?
John Miller
jpmiller@a...
Message #2 by "Jason Salas" <jason@k...> on Wed, 5 Dec 2001 19:24:56 +1000
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_00FA_01C17DC2.85D15320
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi John,
You could set up each Username and Password in form fields, and then
assign these values, passing them on throughout your app.
<%
Session("username") =3D Request.Form("LOGIN")
Session("password") =3D Request.Form("PASS")
%>
In this instance, LOGIN and PASS would be the login and password of the
user, which perhaps in a previous page would be verified against the
server.
HTH,
Jason
----- Original Message -----
From: John P. Miller
To: ASP Web HowTo
Sent: Wednesday, December 05, 2001 12:33 AM
Subject: [asp_web_howto] NT4 ID Redirect
Hi all,
I have a secure Intranet site that uses NT 4.0 UserIDs and
passwords. I would like to setup a login redirection where I do a
response.redirect based on the user id. How do I do this? Is there a
server variable for the NT UserID? Also, is it possible to redirect
based on the user's group instead of the user name?
John Miller
jpmiller@a...
$subst('Email.Unsub')
Message #3 by "Ken Schaefer" <ken@a...> on Wed, 5 Dec 2001 13:36:33 +1100
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "John P. Miller" <jpmiller@a...>
Subject: [asp_web_howto] NT4 ID Redirect
I have a secure Intranet site that uses NT 4.0 UserIDs and passwords. I
would like to setup a login redirection where I do a response.redirect based
on the user id. How do I do this? Is there a server variable for the NT
UserID?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Why don't you test it:
<%
For Each Key in Request.ServerVariables
Response.Write(Key & " = " & Request.ServerVariables(Key) & "<br>")
Next
%>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: Also, is it possible to redirect based on the user's group instead of the
user name?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A user can belong to many groups. How would your logic work then? That said,
you can use ADSI to work out which groups a user does belong to.
Cheers
Ken
|
|
 |