• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

session between domain and subdomain

javismiles

Basic Pleskian
Hi,
i have a domain.com and a secure.domain.com subdomain,
i need to share php session variables between them,

The code i use is
<?php
ini_set('session.cookie_domain', '.domain.com' );
$some_name = session_name("domain");
session_set_cookie_params(0, '/', '.domain.com');
session_start();

This code works great in other hosts of friends and both session id and session variables are being shared

in the case of my plesk 11.5 centos 6 server, the session id is being preserved but the session variables are not,
the session variables are not passing between subdomain and domain

Seems to be a plesk server issue, as the code itself works in other servers

could you please help me

thank you
 
Back
Top