Increase page timeout from inside a web part
-
06-12-2019 - |
سؤال
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?
المحلول
Use SPLongOperation
for this kind of stuff:
لا تنتمي إلى sharepoint.stackexchange