I have a query that takes a while to return results on our staging box and it has been wired to the front-end using an ASP.NET MVC Ajax.BeginForm()
. I have searched the help and the internet but can't seem to find a way to extend the timeout for this operation.
views:
133answers:
2
A:
Is the normal
<% Session.timeout = Xmin %>
Working? By default it is set to 10 I believe so if it happens after 10 minutes this would help a bit, though is not elegant.
Better methods use JavaScript to keep the page alive. You can have a look at more sophisticated methods here and here
bastijn
2010-02-01 14:23:31
Sorry if I wasn't clear enough but it's the Ajax request that is timing out not the session.
Nat Ryall
2010-02-01 16:55:12
a than my answer doesn't make sense anymore.
bastijn
2010-02-01 18:10:23