Welcome Guest, Not a member yet? Register   Sign In
return error from form
#7

(07-24-2020, 08:06 AM)InsiteFX Wrote: If the session is logging out you will need to add it again, you can up the session timeout

so that this does not happen.

sessionExpiration = 0

Will destroy the session on web browser exit.

seconds -----------------------------|
minutes -----------------------|      |
hours  -------------------|      |      |
days    -----------|        |     |      |
years  ------|      |       |      |      |
                y      d       h     m     s
time () + (20 * 365 * 24 * 60 * 60)
 Many thnaks,  but I was more concerned why there was an infinite loop when trying to redirect to the login page?

Code:
if($uri->getPath!='login' ) 
                        {

                if (!$auth->get('user_id') )
                {
                return redirect('login');
                }
            }
    } 
Reply


Messages In This Thread
return error from form - by 68thorby68 - 07-23-2020, 03:00 AM
RE: return error from form - by InsiteFX - 07-23-2020, 03:16 AM
RE: return error from form - by 68thorby68 - 07-23-2020, 03:50 AM
RE: return error from form - by InsiteFX - 07-23-2020, 08:45 AM
RE: return error from form - by 68thorby68 - 07-23-2020, 01:02 PM
RE: return error from form - by InsiteFX - 07-24-2020, 08:06 AM
RE: return error from form - by 68thorby68 - 07-24-2020, 11:10 AM
RE: return error from form - by InsiteFX - 07-24-2020, 12:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB