Configuring the new page auto-save function in CMS 6 R2
CMS 6 R2 comes with a handy new page auto-save function which as the name suggests automatically saves draft copies of a page when it is being edited. If the browser should then crash before you have a chance to save your changes in the normal way, next time you log-in, you will be presented with a small pop-up to say that you have a draft copy of a page which can be recovered.
By default a page draft will be automatically saved after 1 minute and then updated every 1 minute after that. The draft will be kept for 3 days and then automatically deleted.
These two values can be changed by adding settings to the episerver site settings section in the episerver.config file. Both should be in the format that can be parsed to a System.TimeSpan.
The following example changes the auto save interval to 10 seconds and the draft retain period to 20 days
<episerver xmlns="http://EPiServer.Configuration.EPiServerSection"> <site> <siteSettings autoSaveInterval="0:0:10" draftRetainPeriod="20.0:0:0" /> </site> </episerver>