CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Redirection based on GroupID

Print topic Send  topic

Author Message
Felisportus

Posts: 3
Posted: 11/06/2009, 8:30 PM

Hello i am trying to redirect user to different pages based on their GroupID's .
I prepare the code but i dont know where to put it on the login page.

Dim myNum
myNum = CCGetGroupID()
Select Case myNum
Case 1
Redirect = "Reservation_List.asp"
Case 2
Redirect = "Employee_List.asp"
Case Else
Redirect = "Employee_List.asp"
End Select
View profile  Send private message
Felisportus

Posts: 3
Posted: 11/06/2009, 8:35 PM

Fixed the problem.

I put the code end of the after Button On click
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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