Re: very basic: session_start();
> using session_start() on a script - if there is no session it sets
> one up; if there is a session, it opens it. If you wait too long
> between pages it disposes the session automatically (set time for
> session to keep alive in php.ini).
Ha! I think that might explain a couple of "strange" events that happen
when I go away and come back later! If I read that right, it's only
about 24 minutes (1440 S). I'm not going to change it because I don't
know the nuances/inter-plays of the php.ini yet. I'm perfectly happy
just knowing there's a reason for it! I've been getting ready to blame
the OS.
>
> You need session_start() on all pages that needs to access the
> $_SESSION array.
>
> $_SESSION is just like an array variable, so if you want to segregate
> data you could set a sub array of page data in $_SESSION...
>
> $_SESSION['views'][1] = ...array of data...;
>
> Hope that s
> Larry
I think I'm starting to catch on; for whatever reason I've been totally
misinterpreting some of these things including $_SESSION. It's always
hardest for me to get the basics into my head when I start something new
like this.
Thanks much
Twayne
|