Welcome Guest, Not a member yet? Register   Sign In
logout without unsing cron-job
#2

If the web browser is closed none of your code is going to run.

You can log them out on browser close set this in ./application/config/config.php.

PHP Code:
$config['sess_expiration'] = 0

That tells the browser to close the session on exit.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
logout without unsing cron-job - by ak2dwd - 04-10-2019, 12:30 AM
RE: logout without unsing cron-job - by InsiteFX - 04-10-2019, 03:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB