I am using sessions fot the first time.
I didnt get it so well so far, it looks like the documentation out there refers to many diferent php versions.
From what i got from it its basicaly about starting the session like this
Code: Select all
session_start();Code: Select all
$_session[foo]="foo2";Code: Select all
if (isset($_SESSION["foo"]) );{
echo "Hurray, lets do stuf here!"
}
else header("location: byebye.php");ok.. this is what i got from what i red.. but i think its more to say than this... like... what about the functions session_id(), seesion_name() and $session_register() ?
when and what for should i use them?
I am using php 5.0
thx in advance