Re: $_SESSION vs. $variable

From: Pedro Graca (hexkid_at_hotpop.com)
Date: 03/11/04


Date: 11 Mar 2004 11:24:53 GMT

Ken wrote:
> What is the operational difference between
>
> $_SESSION['variable]
>
> $variable
>
> $_POST['variable']

            | creation | lifetime | scope
------------+------------------+----------------+---------
$variable | first use | end of script | local
$_POST[] | init (by client) | end of script | global
$_SESSION[] | init (by server) | end of session | global

I think this pretty much sums it up :)

-- 
            --= my mail box only accepts =--
            --= Content-Type: text/plain =--
            --=  Size below 10001 bytes  =--