Overview:
This KBA will explain how to set the duration of the tokens used by Essentials by modifying the REST and REST manager web.config files. Note that before making any modifications to these config files, you should back them up first!
Solution:
Where the value is the number of minutes that you will want Essentials to wait before requesting a new token.
This KBA will explain how to set the duration of the tokens used by Essentials by modifying the REST and REST manager web.config files. Note that before making any modifications to these config files, you should back them up first!
Solution:
- Back up your REST web.config file, located here by default: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\REST\web.config
- Edit your web.config file.
- As a child of the appSettings element, add a new entry as follows:
<add key="ArcGisRestMapServiceBase.MaximumTokenDuration" value="280" />
Where the value is the number of minutes that you will want Essentials to wait before requesting a new token.
NOTE: You will want to set this value to slightly less than the token expiry that you have set on your ArcGIS server, so that a new token is requested before the old one expires.
- Repeat steps 1 to 3 for your REST Manager web.config file, located here: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\web.config
- Re run the Post Installer, or recycle the app pools in IIS Manager
Comments
0 comments
Article is closed for comments.