Session key system for API logins in the skins

Version 1.21.3


Ability for skin scripting to login to da without knowing the password. It's essentially the same as the sessions based system, except it will work for the localhost ip ( The key will be passes through the env in skins as: SESSION_KEY the session ID is also now passed through the env: SESSION_ID The key should be passed as a cookie along with the token session=<SESSION_ID>; key=<SESSION_KEY> eg header in php (communication class): $query .= "Cookie: session=".getenv("SESSION_ID")."; key=".getenv("SESSION_KEY")."rn";

Interested to try DirectAdmin? Get a 30-day Free Trial!