This is a multi-part message in MIME format.
------=_NextPart_000_0222_01C1FC13.A460F3C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a simple login page that allows a user to enter username and
password and have it authenticate against a MS Access table.
I'd like the redirect to go to a specific folder or virtual directory
based on the user's username: i.e. CustomerA gets redirected to
//server/customerA
What is the best way to do this?
thank you !
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C1FC1A.066C13A0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Andy,
Hm.. would a simple if/else do? Something like this
if (userIsAuthenticated) {
Server.Transfer("/server/" + UserName);
} else {
Server.Transfer("invalidPassword.aspx");
}
Hope this works,
Minh.
-----Original Message-----
From: Andy Wischmann [mailto:andy@9...]
Sent: Wednesday, May 15, 2002 11:23 AM
To: aspx_beginners
Subject: [aspx_beginners] redirecting to a URL based on username
I have a simple login page that allows a user to enter username and
password and have it authenticate against a MS Access table.
I'd like the redirect to go to a specific folder or virtual directory
based on the user's username: i.e. CustomerA gets redirected to
//server/customerA
What is the best way to do this?
thank you !
---