Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forms authentication timeout #246

Open
MSAGH opened this issue Aug 26, 2022 · 0 comments
Open

Forms authentication timeout #246

MSAGH opened this issue Aug 26, 2022 · 0 comments

Comments

@MSAGH
Copy link

MSAGH commented Aug 26, 2022

In the web.config I changed the authentication timeout from 15 hours:

<authentication mode="Forms"> <forms loginUrl="logon.aspx" name="sqlAuthCookie" timeout="900" path="/"></forms> </authentication>

to 4 hours:

<authentication mode="Forms"> <forms loginUrl="logon.aspx?page=search" name="sqlAuthCookie" timeout="240" slidingExpiration="true" path="/"></forms> </authentication>

and the users got the error:

The report execution XXXXXXXXXXXXXXXXXXXXXX has expired or cannot be found. (rsExecutionNotFound)

The executionTimeout (shown below) hasn't changed (2 1/2 hours). Could it be because the time is less than the authentication timeout. Though it was less originally so could the slidingExpiration have something to do with it? I tested with the authentication timeout with 10 minutes and it worked.

UPDATE: I've tested with the executionTimeout as both less than and more than the authentication timeout and it always works for me so that's not the issue!

<httpRuntime executionTimeout="9000" requestValidationMode="2.0" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant