I did some research on this topic, and there are some experts who have said that it is not possible, so I would like to ask for an alternative solution.
My situation
Here there is another approach that works for me:
if you need to redirect to another web page (user.php) and includes a PHP variable ($user[0]):
user.php
$user[0]
header('Location:./user.php?u_id='.$user[0]);
or
header("Location:./user.php?u_id=$user[0]");