This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

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:
<?php 
//verify ip-address
if ($_SESSION['cmtx_ip_address'] != cmtx_get_ip_address()) {
cmtx_log_out("exit");
}

to this:

PHP Code:
<?php 
//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
Last Post by Static
17-Aug-2010, 07:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)