title($id); ?>
|
build_input($id);
$this->_validate_syntax($id);
echo ' ' . __('SYNTAX: alphanumeric and "_".', 'litespeed-cache')
. ' ' . __('No spaces and case sensitive.', 'litespeed-cache')
. ' ' . __('MUST BE UNIQUE FROM OTHER WEB APPLICATIONS.', 'litespeed-cache')
. ' '
. ''
. sprintf(__('The default login cookie is %s.', 'litespeed-cache'), '_lscache_vary ')
. ' ' . __('The server will determine if the user is logged in based on the existence of this cookie.', 'litespeed-cache')
. ' ' . __('This setting is useful for those that have multiple web applications for the same domain.', 'litespeed-cache')
. ' ' . __('If every web application uses the same cookie, the server may confuse whether a user is logged in or not.', 'litespeed-cache')
. ' ' . __('The cookie set here will be used for this WordPress installation.', 'litespeed-cache')
. ' '
. ''
. __('Example use case:', 'litespeed-cache')
. ' '
. sprintf(__('There is a WordPress installed for %s.', 'litespeed-cache'), 'www.example.com')
. ' '
. sprintf(__('Then another WordPress is installed (NOT MULTISITE) at %s', 'litespeed-cache'), 'www.example.com/blog/')
. ' ' . __('The cache needs to distinguish who is logged into which WordPress site in order to cache correctly.', 'litespeed-cache')
. ' '; ?>
'; ?>
conf($id))) {
echo ' ❌ ' . __('Invalid login cookie. Invalid characters found.', 'litespeed-cache') . ' ';
}
if (defined('LITESPEED_ON') && $this->conf($id)) {
$cookie_rule = '';
try {
$cookie_rule = Htaccess::cls()->current_login_cookie();
} catch (\Exception $e) {
echo '';
}
$cookie_arr = explode(',', $cookie_rule);
if (!in_array($this->conf($id), $cookie_arr)) {
echo ''
. __('WARNING: The .htaccess login cookie and Database login cookie do not match.', 'litespeed-cache')
. ' ';
}
}
?>
|
title($id); ?>
|
build_textarea($id, 50);
$this->_validate_syntax($id);
echo ' ' . __('SYNTAX: alphanumeric and "_".', 'litespeed-cache')
. ' ' . __('No spaces and case sensitive.', 'litespeed-cache')
. ' '
. ''
. ' ' . __('You can list the 3rd party vary cookies here.', 'litespeed-cache')
. ' '
. ''; ?>
'; ?>
|