Session on wordpress site, : Please help, I have a client page coded in php. The page then goes to a wordpress page, The session is there on this page is remembered, but when I load a new page from this wordpress page. The session is not remembered and take back to the login page .. 

This code is on the login page .. 

     my_session_register('user_id');
			
		$_SESSION['user_id']=$user_id;
		
		
          header('Location: booking_user.php');

Then is code checks the session

  if (!my_session_is_registered('user_id')) {

    header('Location: login.php');

  }

I just dont no how I would keep this alive in this page and stop ending the session 

Thanks 
