Set php.ini session_save_path to whereever u want to.

HTH,

Ernani

"Ib Helmer Nielsen" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
> I am new in programming in PHP, so my question is purhaps stupid but never
> the less.
> The problem is the following, when i run the program below ther is made a
> file in the directory for saving session var.
>
> <?php
> session_start();
> $userID = "ihn";
> if (session_register("userID"))
> {
>     echo("User :  $userID");
> } else
> {
>     echo("Could not set the session variable!");
> }
> ?>
>
>
> but i cannot read the var back with th followng pogram
>
> <?php
> session_start();
> eccho("User : $userID");
> ?>
>
> thanks in advance
> escuse my english
> Ib Helmer Nielsen
>
>
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to