Increase page timeout from inside a web part
-
06-12-2019 - |
Pergunta
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?
Solução
Use SPLongOperation
for this kind of stuff:
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange