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 -> PHP

 Is it possible to set Page Restriction during run time

Print topic Send  topic

Author Message
Ahaa
Posted: 01/21/2005, 4:13 PM

Hi All,

Has anyone tried setting page restriction during run time.

I have tried the following:

$page->Restricted = yes;
$page->security_group = user;

But it dosen't work.

Thanks in advance for your ideas.

Ahaa
Martin K.
Posted: 01/22/2005, 3:07 AM

Hello.
The CCS Function for Security is:

CCSecurityRedirect("", "");

Put the code in Page Before Show.

Example:
CCSecurityRedirect("6;7;8;9;10", "../mainlogin/Mainlogin.php");

"6;7;8;9;10" = the Group IDīs which you in your project used.
"../mainlogin/Mainlogin.php" = the Loginpage from your Projekt

Sorry about my english
greets martin
Ahaa
Posted: 01/22/2005, 9:31 PM

Thanks martin.


Quote Martin K.:
Hello.
The CCS Function for Security is:

CCSecurityRedirect("", "");

Put the code in Page Before Show.

Example:
CCSecurityRedirect("6;7;8;9;10", "../mainlogin/Mainlogin.php");

"6;7;8;9;10" = the Group IDīs which you in your project used.
"../mainlogin/Mainlogin.php" = the Loginpage from your Projekt

Sorry about my english
greets martin

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.

Web Database

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.