CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Java

 Login screen

Print topic Send  topic

Author Message
kizzieb

Posts: 5
Posted: 10/19/2007, 2:26 AM

Hello,

I have tried to create a redirect screen when users login for different levels, I found an example on how to do this in PHP but I have tried in JSP with no success:

if (get_session("UserRights") == 1)
header("Location: home1.php");
else if (get_session("UserRights") == 2)
header("Location: home2.php");
else if (get_session("UserRights") == 3)
header("Location: home3.php");
else
header("Location: login.php");

Do you know how I can do this in JSP.
View profile  Send private message

Add new topic Subscribe to topic   


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.