I was looking high and low for this solution. Any ideas would be highly appreciated.
Situation: when several PageMethod calls are on the same page, each method call holds the lock of the Session object, blocking in this way. PageMethod calls can only be made asynchronous with a directive @Pagethat addressesFalse|ReadOnly
Conclusion: when the directive is Pageby default (read / write), but the session is not used anywhere on the page, calls are not blocked. Any reading or writing to a page-level session blocks pagemethod calls.
Problem: creating EnableSessionState=ReadOnlya directive is @Pagevery restrictive and does not want to accept this route.
Can a pagemethod call not be blocked? and still access the session? (maybe not write, but just read)
source
share