Increase page timeout from inside a web part
-
06-12-2019 - |
Domanda
We have a webpart that allows users to upload videos to YouTube. In testing, we were able to exceed the script timeout. I believe the default is 120 seconds.
Can this setting be changed / accommodated inside the web part, or can this only be changed in the web.config?
Soluzione
Use SPLongOperation
for this kind of stuff:
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange