The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ
A PHP based password store
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
php-password-store/session.php

23 lines
565 B

<?php
header('Pragma: no-cache');
header('Cache-Control: no-cache');
header('Content-Type: text/html; charset=utf-8');
if (!isset($sessionName) || ($sessionName == ''))
{
echo "No session name is set in the configuration file!";
exit;
}
if (array_key_exists($sessionName, $_COOKIE))
{
session_id($_COOKIE[$sessionName]);
}
$path = dirname($_SERVER['PHP_SELF']) . '/';
session_name($sessionName);
session_cache_expire(15);
session_set_cookie_params(900, $path, $_SERVER['SERVER_NAME'], $sslOnly, TRUE);
session_start();
setcookie($sessionName, session_id());