Welcome Guest, Not a member yet? Register   Sign In
How reliable is the FileHandler session driver?
#2

You can always check to see if it is an Ajax request also before destroying the session.

PHP Code:
// Check for AJAX request.
if ($request->isAJAX())
{
 
   session->destroy();

What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: How reliable is the FileHandler session driver? - by InsiteFX - 07-27-2019, 08:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB