Posted by Sanders Kaufman on 12/05/06 20:58
Jerry Stuckle wrote:
> Sanders Kaufman wrote:
>> It *resumes* a session?!
>> If I put a bunch of values into session variables, how do I get those
>> back with the resumed session... and how do I make sure I resumed the
>> right session?
>
> Just call session_start() on every page that uses sessions. PHP ensures
> the correct session id is used again.
So with this page:
-----
session_start();
$_SESSION["MyVar"] = 123;
----
When the user reloads, MyVar *will* equal 123?
It's that simple?
When I was trying to learn about them, I ran into something to do with
ob or ob_flush. Was I on a wrong tracK?
[Back to original message]
|