How do I make my require('reg_form_detail.php'); re-appear immediately and ready for next User login after logging out and shutting down the browser?

I am still kinda new to php coding. Is there another way that I can write this code to make it work. Please take a look at my code below and if possible

give me a real code-sample and/or add it into my code or show a new way. The FORM works but doesn't come back fast enough and ready for next visitor!

Please Advise I would be most thankful!




p.s. Please insert real changes to my code:


//Ric Kir (script for pop up )


if(!isset($_COOKIE['user_id']) &&($_COOKIE['user_id']<1)){