Clear cookies on closing browser in php codeigniter -


I am using a php codeigniter to create a larger application where I have different log in options for users of different levels have to give. And I've done a lot with everything when the user closes the browser so I want to clear all the cookies and sessions. how can I do this.

Below is a very basic session set in the /application/config/config.php file. To set

$ config ['sess_expire_on_close'] = TRUE;

You

Enter image details here

Comments

Popular posts from this blog

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -

jasper reports - How to center align barcode using jasperreports and barcode4j -

django - CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False -