My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 78: Make cookie path configurable
2 people starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  moo...@wwwendt.de
Closed:  Feb 2009


 
Reported by kont...@contentcontrol-berlin.de, Feb 18, 2009
We're using dynatree to render the navigation tree of a DMS component. dynatree in this case is 
loaded for all the different folders, but always shows the entire navigation tree. Since each folder 
has a different URL, this currently means that for each of them, a cookie with persistent information 
is written, which produces an awful lot of cookies and isn't really helpful, since we want the tree 
status to be consistent in the entire DMS.

So we've written a patch against 0.4beta2 that i want to propose for inclusion. It allows you to 
specify the cookie path during initialization. If it is not set, the old behavior kicks in and the cookie 
path corresponds to the page url. 
patch_dynatree.txt
6.9 KB   View   Download
Feb 18, 2009
Project Member #1 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Accepted
Labels: -Type-Defect Type-Enhancement
Feb 18, 2009
Project Member #2 moo...@wwwendt.de
Implemented with r179.

Thanks for the patch! I modified it a to allow setting all available$cookie options.
Could you check if it works for you?
Status: undefined
Feb 19, 2009
Project Member #3 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Fixed
Owner: moo...@wwWendt.de
Labels: Milestone-Release0.4
Jul 17, 2012
Project Member #4 moo...@wwwendt.de
considered verified
Status: Verified
Aug 26, 2012
#5 ma...@stasismedia.com
Was this ever merged into trunk?
Aug 26, 2012
Project Member #6 moo...@wwwendt.de
it was fixed in the trunk. any doubts?
Aug 26, 2012
#7 ma...@stasismedia.com
I see, it was implemented slightly differently. I was searching through current trunk and documentation for 'cookiePath', but it's actually under cookie.path

Perhaps the new cookie options should be added to the docs at http://wwwendt.de/tech/dynatree/doc/dynatree-doc.html

Either way, my issue is now resolved. Thanks

Powered by Google Project Hosting