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", "");
|
|
|
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.
|
|
|
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 |
|
|
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 ....
|
|
|
JessicaRobort
Posts:
|
Posted: 09/19/2013, 4:11 AM |
|
nice post
|
|
|