CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Redirection based on Department ID?

Print topic Send  topic

Author Message
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?

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.