Link to home
Start Free TrialLog in
Avatar of aduvall
aduvall

asked on

Is it possibe to preserve a flex tree component position with a client session using php or an alternative.

I have a flex tree component I am using as a menu to find specific products.  When the user double clicks their desired product they leave that page and they view the chosen products.  What I would like to happen is as long as their current session is active and they navigate back to the categories page the tree will stay in the position it was before they left rather than going back to it's default position.  The tree is being used with a php e-commerce driven site and all the shopping cart details are stored using the current session.  I have thought about making a pop up window instead so they root page stays on the tree, but I do not care for that. I would rather the position stay fixed until you close the session.
ASKER CERTIFIED SOLUTION
Avatar of virmaior
virmaior
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aduvall
aduvall

ASKER

I am thinking that the cookie would be the way to go because when a user selects a certain item in the tree it will send them to a new page with the results of the query.  Could you direct me to any code examples?
Avatar of aduvall

ASKER

I decided to use iframes and it worked rather well. Still searching for a example of storing the current postions / open and closed information in a cookie in the browser (via javascript).
Avatar of aduvall

ASKER

Thank You for the help.