In a bit of admin functionality for a particular site, I'm doing a particularly horrific post that necessitates a large amount of data to be posted. In order to make that happen, I had to add the Web.config appSetting:
<add key="aspnet:MaxHttpCollectionKeys" value="2000" />
However, I only want this large post to be possible under a particular set of circumstances. Is there any way to programmatically set this value?