Welcome Guest, Not a member yet? Register   Sign In
[CLOSED] Codeigniter Sessions Redirect If Expired
#2

[eluser]CroNiX[/eluser]
What is $this->session->sess_expiration() ? That function is not part of the session library. It's a property, so you should use it without parentheses. But I'm still not sure what you're doing there. You're basically saying:
Code:
if (7200) {}
7200 being the (default) number of seconds the session should last.


Messages In This Thread
[CLOSED] Codeigniter Sessions Redirect If Expired - by El Forum - 06-30-2014, 03:53 AM
[CLOSED] Codeigniter Sessions Redirect If Expired - by El Forum - 06-30-2014, 07:27 AM
[CLOSED] Codeigniter Sessions Redirect If Expired - by El Forum - 06-30-2014, 05:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB