The keep-across-visits Element"

From Documentation
(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…')
 
m
Line 1: Line 1:
{{ZKConfigurationReferencePageHeader}}
+
{{ZKConfigurationReferencePageHeader}}
  
 +
'''Syntax:'''
 +
<keep-across-visits>true|'''false'''</keep-across-visits>
  
 
  [Default: <tt>false</tt>]
 
  [Default: <tt>false</tt>]
Line 16: Line 18:
 
'''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.
 
'''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.
  
{{ZKConfigurationReferencePageFooter}}
+
=Version History=
 +
{{LastUpdated}}
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
{{ZKConfigurationReferencePageFooter}}

Revision as of 14:06, 3 December 2010


The keep-across-visits Element


Syntax:

<keep-across-visits>true|false</keep-across-visits>
[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.

Version History

Last Update : 2010/12/03


Version Date Content
     


Last Update : 2010/12/03

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