It may come back so you can try to start your application with a clean session, the only problem doing this it’s on the dev server, it will also reset your Scriptcase session.
// onApplicationInit
if (isset($_SESSION['version'])) {
session_destroy();
?>
<script>
window.location.reload();
</script>
<?php
}
$version = $this->Ini->nm_app_version;
sc_set_global($version);
You can also delete the cookies when you start, if you don’t need them
?>
<script>
$(document).ready(function(){
var cookies = document.cookie.split("; ");
for (var c = 0; c < cookies.length; c++) {
var d = window.location.hostname.split(".");
while (d.length > 0) {
var cookieBase = encodeURIComponent(cookies[c].split(";")[0].split("=")[0]) + '=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=' + d.join('.') + ' ;path=';
var p = location.pathname.split('/');
document.cookie = cookieBase + '/';
while (p.length > 0) {
document.cookie = cookieBase + p.join('/');
p.pop();
};
d.shift();
}
}
})();
</script>
<?php