[jQuery] Treeview persistence (cookies) and a dynamic (PHP/MySQL built) UL - not holding state

[jQuery] Treeview persistence (cookies) and a dynamic (PHP/MySQL built) UL - not holding state


I'm working with Treeview, latest version, needing the cookie/
persistence feature for a project.
Sample demo works fine on my local machine (I can click on 2nd tree,
change what's open/closed, browse to another page, then return (BACK
button), and the tree holds its state. Great!
Can't get it to work in my test system though.
http://www.wrctest.com/tt2006/tennis_lessons_showall.php
You do not need an account or login to see the tennis lessons - and
the next screen (after picking a lesson) only shows more details, so
anyone (on this list) can see what's going on (or not, as the case may
be).
Please, it is a beta system, so don't tell folks about it, ok?
What I want is that when someone drills down and finally picks a
class, they get the details page (that works), but when they click
'back', the tree is not all collapsed back up, but instead stays where
it was.
I suspect it's more a PHP and cache issue (in other words, don't
rebuild the tree on each visit), but want to run it by this august
group before I look into a different direction. And any advice on the
PHP side (buffering, caching, looking at return url, pre-creating the
UL?) all welcome.
Thanks!
Mike Truese