Menu
I basically use session to hold my variables and data transfer from one page to another. I want to know how I can set time for a particular session for it to hold a variable and then empty it in a very little period like 20 seconds. For instance, a session like $_SESSION[‘auth’][‘error’] = “Invalid login”; displaying on a login page if(!empty), I want the session to empty after 20 seconds of seting the session.
Thanks in advance.