Increase page timeout from inside a web part
-
06-12-2019 - |
Pregunta
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?
Solución
Use SPLongOperation
for this kind of stuff:
Licenciado bajo: CC-BY-SA con atribución
No afiliado a sharepoint.stackexchange