1. i added your request in row 343 but it broke my admin so i had to revert
this is where i added it
$displayMode = isset($atts[‘displaymode’]) && strtolower($atts[‘displaymode’]) == ‘calendar’ ? 1 : 0;
$includeHolidays = isset($atts[‘showholidays’]) && strtolower($atts[‘showholidays’]) == ‘yes’ ? true : false;
$allowUserToChangeCountry = isset($atts[‘changecountry’]) && strtolower($atts[‘changecountry’]) == ‘yes’ ? true : false;
$countryIso = NULL;
if($allowUserToChangeCountry && isset($_COOKIE[‘thc_selected_holiday_country’]))
{
$countryIso = $_COOKIE[‘thc_selected_holiday_country’];
}
//temp
echo "<!– thc debug:";
print_r($_COOKIE);
echo "–>";
else
{
$countryIso = isset($atts[‘country’]) ? $atts[‘country’] : ‘us’;
}
2. secondly, we also have vanrish on our site, so maybe we need to allow the cookie you are trying to implement, look at some of the varnish definitions to allow cookies to pass through the proxy
this is from varnish.vcl file
set req.http.Cookie = regsuball(req.http.Cookie, “__utm.=[^;]+(; )?”, “”);
set req.http.Cookie = regsuball(req.http.Cookie, “_ga=[^;]+(; )?”, “”);
set req.http.Cookie = regsuball(req.http.Cookie, “_gat=[^;]+(; )?”, “”);