ExportMap Temporary File Lifespan

684
2
05-13-2011 08:03 AM
TylerOhlsen
New Contributor
When calling ExportMap with a JSON return format, an HREF field is included with a URL to the image you requested.  I'm assuming this is a generated temporary file.  I would like to know how long that file exists. 

Is its lifespan a duration since it was generated or are those temporary files purged at a specific time of day (like 4am)?  If purged at a specific time, if a map was requested 1 minute before the purge, would it be purged 1 minute later?

Thanks,
Tyler
0 Kudos
2 Replies
RaviNarayanan
Esri Contributor
Tyler,

it depends on the maxFileAge configured for the arcgisoutput directory. Please see this help topic for more information .http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000mq...
0 Kudos
TylerOhlsen
New Contributor
I see, thanks for the information.  Can you tell me what the maxFileAge is set to on ESRI's hosted services (such as World Imagery)?

Thanks again,
Tyler
0 Kudos