gmoore
|
| Posted: 06/10/2003, 9:02 AM |
|
Does anyone know if it is possible to redirect users based on their department ID. I've seen information on redirect based on user rights, but I would like to use the department ID, which is not a part of the security/session information. Is it possible to do this from anywhere within the applicaition?
Thanks.
|
|
|
 |
glerma
|
| Posted: 06/10/2003, 12:35 PM |
|
You should refer to which Product you are using and which Language when posting questions (CC or CCS).
If you are referring to CCS and PHP:
+++++++++++++++++++++++++++++++++++++
EXAMPLE ONLY!
global $Redirect;
$connection = new clsDB<Name>;
$dept_id = CCDLookUp(field, table, where_clause, $connection);
if ($dept_id = <whatever value you want>) {
Redirect = "UpdateMessagePage.php";
}
+++++++++++++++++++++++++++++++++++++
Regards,
g.
|
|
|
 |
gmoore
|
| Posted: 06/10/2003, 2:27 PM |
|
Thanks,
I'm using CCS and ASP with templates with a MS Access database. Does anyone have any samples for ASP?
|
|
|
 |
|