Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

Plesk session is dropped if client’s IP is being changed

Article ID: 1631 
Last Review: Nov,4 2009
Author: Vitaly Malakhov
Last updated by: Vitaly Malakhov APPLIES TO:
  • Plesk 8.x for Windows
  • Plesk 9.x for Linux/Unix
  • Plesk 8.x for Linux/Unix
  • Plesk 9.x for Windows

Symptoms

Plesk users are using internet connection with dynamic IP which changes on every request. Plesk Panel drops their sessions for security reasons and displays login prompt anew or reports ‘session expired’ error message .

Resolution

Parallels Plesk Panel for Windows versions:
The option Allow IP change during one session is supported since version 8.2.

Parallels Plesk Panel for Linux/Unix versions:
The support of this option is planned to be added in the further Parallels Panel updates. At the moment you can use temporary patches attached to this article:
   class.Session.php.9.2 -- for version 9.2
   class.Session.php.8.6 -- for version 8.6

1. Make a backup of original /usr/local/psa/admin/plib/class.Session.php file (or /opt/psa/admin/plib/class.Session.php for Debian and Ubuntu OSes) on your server;
2. Download appropriate file for your version to your server;
3. Remove version suffix from the file name (e.g. rename file to class.Session.php) and replace the original file with the new patched one;
4. Execute the following command from the server shell console:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` -Dpsa -e 'REPLACE INTO misc VALUES ("disable_check_session_ip","true")'


Attachments:



Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products