On Sun, May 6, 2007 11:29 am, Alain Roger wrote:
> Hi,
>
> I have the following code :
>
> session_start();
>> $_SESSION['username']=$myusername;
>> $_SESSION['Localization'] = $lang;
Add this:
session_write_close();
before you do header re-direct.
>> header("Location:
>> https:
On 5/6/07, Alain Roger <[EMAIL PROTECTED]> wrote:
if i check before header command what is the value of $_SESSION['username'],
i get the right value.
however, if i place on the first line of welcome.php file the following code
:
echo "1. Before session";
> session_start();
> echo"Username : ".$_
I was doing some stupid shit like doing a session_unregister() on my
variables, then later, after successful login, redoing a session_register().
When I made a separate logoff.php page to unregister the variable, then a
redirect back to index.php to allow users to login again, everything worked
f
3 matches
Mail list logo