Loadopenstates, cookie, different pages and folders, treemen

Hi, I am having an issue with treemenu and loadOpenStates(). The state of the menu isnt being maintained across different pages, is there any way to enable this?

If it is supposed to work across pages but isnt, my cms rewrites domains of the form ‘http://www.fffp.co.uk/1239/PaymentProtectionInsurance.html’ so each page appears to be in a different directory…

The second parameter of the saveOpenStates method is cookie parameters. So, you set the necessary path here.