Am 31.01.2017 um 19:40 schrieb DJSaunders <david.j....@questdiagnostics.com>:
I have searched this forum and while there are a number of posts talking about disabling the refresh of certain zen components, like tables, and a couple that touch on page refresh, but there is no definitive answer. Can someone provide a solution to prevent or disable refreshing of a zen page. It is very annoying to be entering data into a form on a page and the page refreshes and you loose all the data you just entered. So if the page sits for a little while and then you get back to entering data just seconds from the refresh time, it refreshes before you can finish entering data, even if it is not a long form.
--
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To post to this group, send email to InterSys...@googlegroups.com
To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
---
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intersystems-z...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zen pages refresh by default shortly before the CSP session terminates. You have two options to deal with this scenario:
1) Increase the CSP application timeout setting to a setting that makes sense for your average application usage. A setting too high may result in CSP sessions sitting around and eating up licenses when users don’t logout, while a setting to low leads to a bad user experience.
2) Set the auto logout parameter in your Zen page to false, which will prevent the refresh. This setting is dangerous and should not be used unless you can guarantee that the page does not trigger any server side logic after it got loaded. Calling Zen methods after a CSP session terminated will result in runtime errors.
Probably only option 1) makes sense in your environment.
HTH,
Stefan
Am 31.01.2017 um 19:40 schrieb DJSaunders <david.j....@questdiagnostics.com>:
I have searched this forum and while there are a number of posts talking about disabling the refresh of certain zen components, like tables, and a couple that touch on page refresh, but there is no definitive answer. Can someone provide a solution to prevent or disable refreshing of a zen page. It is very annoying to be entering data into a form on a page and the page refreshes and you loose all the data you just entered. So if the page sits for a little while and then you get back to entering data just seconds from the refresh time, it refreshes before you can finish entering data, even if it is not a long form.
--
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To post to this group, send email to InterSy...@googlegroups.com
To unsubscribe from this group, send email to InterSystems-...@googlegroups.com