Setting dijit.Tree cookie for all pages

Posted by peirix on Stack Overflow See other posts from Stack Overflow or by peirix
Published on 2010-03-24T14:31:34Z Indexed on 2010/03/24 14:33 UTC
Read the original article Hit count: 284

Filed under:
|
|

I'm using the same dijit.Tree view over several pages in our application, and I'd like to have the cookie saved for the server name, instead of the folder name.
Right now I've got 3 pages and 3 cookies, which each hold their own information on the state of the Tree, which is kinda annoying.

Any ways to accomplish this? The only thing I've found on cookies in the API, is that I can set the cookieName and turn cookies on/off.

© Stack Overflow or respective owner

Related posts about dijit

Related posts about tree