The keep-across-visits Element

From Documentation
Revision as of 07:18, 3 December 2010 by Char (talk | contribs) (Created page with ' {{ZKConfigurationReferencePageHeader}} [Default: <tt>false</tt>] It specifies whether to keep the desktop when a user reloads an URL or browses away to another URL. Since br…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The keep-across-visits Element



[Default: false]

It specifies whether to keep the desktop when a user reloads an URL or browses away to another URL. Since browsers won't cache HTML pages generated by ZK, ZK removes a desktop as soon as the user reloads the URL or browses to another URL.

However, you have to specify keep-across-visits with true, if you use the server-side cache for the HTML pages generated by ZK. An example of the server side cache is OpenSymphony CacheFilter.

 <client-config>
     <keep-across-visits>true</keep-across-visits>
 </client-config>

Note: When working with Opera, ZK always keeps the desktop (until the number of desktops exceed the allowed maximal number), since Opera is smart enough to preserve the most updated content and always reuses the cached page.



Last Update : 2010/12/03

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.