CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 Get/Set Session from external scripts ...

Print topic Send  topic

Author Message
feha


Posts: 712
Posted: 09/20/2006, 2:22 PM

In order to read or write a CCS compatible essions from an external application please
copy this two functions from Common.php

  
//CCGetSession @0-A9848448  
function CCGetSession($parameter_name, $default_value = "")  
{  
    return isset($_SESSION[$parameter_name]) ? $_SESSION[$parameter_name] : $default_value;  
}  
//End CCGetSession  
  
//CCSetSession @0-7889A59E  
function CCSetSession($param_name, $param_value)  
{  
    $_SESSION[$param_name] = $param_value;  
}  
//End CCSetSession  

Use them the same way as you would in CCS :-)

_________________
Regards
feha

www.vision.to
feedpixel.com
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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