Forum Moderators: coopster
<form method="post">
<?php
$taxyear=$_SESSION['last_TY'];
\koolreport\inputs\Select::create(array(
"name"=>"taxyear",
"data"=>$_SESSION['TY'],
"defaultOption"=>array($taxyear=>$_SESSION['last_TY']),
));
?>
<button type="submit"><< change tax year</button>
</form>
if ($ExpireIt) {
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
header('Expires: 0');
}
else {
header('Cache-Control: public, must-revalidate, max-age=86400,no-transform'); // 24 hours in seconds
header('Expires: 1440'); // 24 hours in minutes
} if ($ExpireIt) {
echo "<meta http-equiv=\"expires\" content=\"0\">\n" .
"<meta http-equiv=\"pragma\" content=\"no-cache\">\n" .
"<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
}