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 -> General/Other

 CCS5 and Custom Login Code Warning!!!

Print topic Send  topic

Author Message
princal

Posts: 19
Posted: 03/16/2012, 8:38 AM

CCS5 Now uses a session variable to track the IP address of the client who is logged in and if it is not found it will log the user out. If you have written a custom login code to replace the generated code and have migrated a project from prior versions of CCS you will need to update your code to include the following:

Login Code

CCSetSession("UserAddr", $_SERVER["REMOTE_ADDR"]);

Logout Code

CCSetSession("UserAddr", "");

View profile  Send private message
idh63

Posts: 76
Posted: 05/01/2012, 8:34 AM

Thanks princal;

You saved me a bunch of time by taking the time to post this.

I just upgraded a CSS4 project with custom login to CCS5 and I had this exact problem. Drove me crazy all weekend.

Again, thanks a bunch.
View profile  Send private message
Oper


Posts: 1195
Posted: 05/01/2012, 8:46 AM

Maybe is just PHP


not in ASP
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
r_e_l_a_x

Posts: 4
Posted: 09/04/2013, 10:31 AM

already solved the problem, it happens that the change of version 4 to 5 so automatically added this line in the Commond: if (CCGetUserAddr ()! = $ _SERVER ["REMOTE_ADDR"]) {CCLogoutUser ();} for request the ip and if not there would not let me go to the website. and disable .... :-)
View profile  Send private message
JessicaRobort

Posts:
Posted: 09/19/2013, 4:11 AM

nice post
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.