CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 MsgBox

Print topic Send  topic

Author Message
Rookie
Posted: 10/18/2004, 8:36 AM

How can I display a message to the user "You are not allowed to see this page" and redirect him to the page he came from?... based in the Security group of the user....
Princess
Posted: 01/02/2005, 8:58 PM

I have an idea!!

....first of all you have to (restrict: yes) the particular page; based on the security group allow the group you would want to view the page; once you make the page restricted it will check to see if the user has logged in and if not it will send the user back to the login page and if yes then it will redirect the user to the correct page.....so therefore ur page link should be directed to the restricted page.

....on your login page you can add a message saying that "you have to be a valid user in order to view this page"

.....you have to create a login page....cuz based on the login it will be determined as to wheather the user has permissions to view the page or not....i hope this helps! GOOD LUCK:-)

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.