keepit-php/ajax/switchView.php
2023-01-14 07:40:41 -06:00

9 lines
No EOL
130 B
PHP

<?php
session_start();
$nv = $_POST['new_view'] or die ("No variable given.");
$_SESSION['keepit_view'] = $nv;
echo "Done.";
?>