Welcome Guest, Not a member yet? Register   Sign In
session time out....
#6

[eluser]gulan[/eluser]
Sorry it not working....
I am using extJs frame work, so I got some other command to get the Id,
but i have to check id of each window and some toolbars inside that window.

Now i come to know we can do it with http session, check the following code.

HTTP_Session:Confusedtart();
HTTP_Session:ConfusedetExpire(time() + 60 * 60); // expires in one hour
HTTP_Session:ConfusedetIdle(10 * 60); // idles in ten minutes
if (HTTP_Session::isExpired()) {
// expired
echo('Your session is expired!');
HTTP_Session::destroy();
}
if (HTTP_Session::isIdle()) {
// idle
echo('You've been idle for too long!');
HTTP_Session::destroy();
}
HTTP_Session::updateIdle();




will it work in codeigniter??? what are the changes required????


Messages In This Thread
session time out.... - by El Forum - 12-09-2008, 12:07 AM
session time out.... - by El Forum - 12-09-2008, 02:54 AM
session time out.... - by El Forum - 12-09-2008, 03:40 AM
session time out.... - by El Forum - 12-09-2008, 04:19 AM
session time out.... - by El Forum - 12-09-2008, 03:44 PM
session time out.... - by El Forum - 12-09-2008, 10:47 PM
session time out.... - by El Forum - 12-10-2008, 05:28 AM
session time out.... - by El Forum - 12-10-2008, 05:45 AM
session time out.... - by El Forum - 12-10-2008, 04:31 PM
session time out.... - by El Forum - 12-10-2008, 10:31 PM
session time out.... - by El Forum - 12-14-2008, 05:01 PM
session time out.... - by El Forum - 12-27-2013, 05:55 AM
session time out.... - by El Forum - 12-27-2013, 06:14 AM
session time out.... - by El Forum - 12-27-2013, 06:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB