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

 session variable don't work to header part !

Print topic Send  topic

Author Message
Oleane
Posted: 01/06/2005, 2:01 PM

hi,
Does someone know how to show a variable session to the header part ?
{header}
I just put a simple label with a before show event : retrieve value for
control
control name : ss_name
Source type : Session
Source name : User_Name
When i test it into a normal maintain grid page, that work correctly, name
appear fine.

see code below :
<?php
// //Events @1-F81417CB

//Header_ss_name_BeforeShow @10-050FC725
function Header_ss_name_BeforeShow()
{
$Header_ss_name_BeforeShow = true;
//End Header_ss_name_BeforeShow

//Retrieve Value for Control @11-B4A3F1E0
global $Header;
$Header->ss_name->SetValue(CCGetSession("User_Name"));
//End Retrieve Value for Control

//Close Header_ss_nom_BeforeShow @10-41F5E1C3
return $Header_ss_name_BeforeShow;
}
//End Close Header_ss_name_BeforeShow


?>


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.