Follow us on Facebook and Twitter!

Logged out by System
#1
I keep getting logged out everytime I try to access any of the menu's in the back-end control area. Has anyone come across this before and how do I stop it from happening?


Attached Files Thumbnail(s)
   
Reply
#2
Hi,

I think it will be because your IP address is constantly changing.

The admin panel checks whether your IP address is the same while you're browsing the pages to help prevent session hijacking.

To remove the check just open /comments/your_admin_folder/includes/auth.php and change this:

PHP Code:
//verify ip-address
if ($_SESSION['cmtx_ip_address'] != cmtx_get_ip_address()) {
    
cmtx_log_out("exit");


to this:

PHP Code:
//verify ip-address
if ($_SESSION['cmtx_ip_address'] != cmtx_get_ip_address()) {
    
//cmtx_log_out("exit");

Have you completed the interview?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux system check Static 2 1,976 17-Aug-2010, 08:22 PM
Last Post: Static

Forum Jump:


Users browsing this thread: 1 Guest(s)