Skip to content
Snippets Groups Projects
Commit c77b4182 authored by PavelBegunkov's avatar PavelBegunkov
Browse files

session fix

parent 46ec499c
Branches
Tags
No related merge requests found
......@@ -41,9 +41,8 @@ $(function()
$.ajax({
type: "POST",
url: URLdir + "handler/Session/closeSession",
success: function(data) {}
success: function(data) {window.location.replace(URLdir);}
});
window.location.replace(URLdir);
}, time*1000);
}
......
......@@ -8,7 +8,7 @@ class Kohana_User implements ArrayAccess {
protected $_model;
protected $_userInfo;
const SESSION_LIFETIME = 20; //seconds
const SESSION_LIFETIME = 900; //seconds
/**
* Вовзращает экземпляр класса (singleton-паттерн)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment