In PHP a primary way to keep data persistent across webpages is to initiate sessions through cookies. This is done by putting session_start() at the very top of the page, only preceded by the opening php marks. Putting anything else before it makes the function's success rate variable.
However, even with this function, not everything may be setup. If you use phpinfo() you can find out if sessions use cookies (should be the default).
However, even with this function, not everything may be setup. If you use phpinfo() you can find out if sessions use cookies (should be the default).