Results 1 to 3 of 3

Thread: Significance of "cacheSeconds"

Hybrid View

  1. #1

    Default Significance of "cacheSeconds"

    I couldn't find any documentation of the significance of 'cacheSecond'. I saw the comments on the example of 'sellItems'.

    Code:
    		<!--
    			Set cacheSeconds to a small, non 0, value so you can do ctrl-N to open an new
    			window and experiment with the continuations stuff.
    		-->
    		<property name="cacheSeconds" value="5"/>
    Could someone elaborate this?
    Neeraj Kumar

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    FlowController inherits it from WebContentGenerator.setCacheSeconds. It controls the caching headers sent to the browser.

  3. #3
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    The sellitem sample sets it to a small, non-zero value because having 0 will cause Internet Explorer to display the 'warning, form resubmission required' screen when you do CTRL-N to open a new window.

    Erwin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •