CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 session variables disappear RESOLVED link was not set to preserving params

Print topic Send  topic

Author Message
RoyBaird

Posts: 115
Posted: 12/11/2009, 7:39 AM

I have a Home page with custom code to set some session variables in the "before show" event. When I navigate around the site and go back to the home page, the session variable UserID is no longer set.

$db = new clsDBjoomla();
CCSetSession("ssan1", CCDLookUp("username","jos_users","id=".$db->ToSQL(CCGetUserID(),ccsInteger), $db) );
CCSetSession("flname", CCDLookUp("name","jos_users","id=".$db->ToSQL(CCGetUserID(),ccsInteger), $db) );
$db->close();

Any ideas?

_________________
Roy
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.