Forum Discussion
How to edit and stretch user session
Hi everybody,
I am in trouble with user session length in Power BI Report Server. I found out it lasts exactly 1 hour and I need to change it because it's too short to me.
Anyway, even if it's a basic configuration, I was not able to reach it. I read many articles, as https://docs.microsoft.com/en-us/sql/reporting-services/report-server/rsreportserver-config-configuration-file?view=sql-server-ver15 or https://docs.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-reporting-services?view=sql-server-ver15 and they looked proper to me but here I didn't find anything useful: I tried to edit some properties, but anything worked (session user was still 1 hour) and I haven't even found any option which was set to 1 hour (or 60 minutes or 3600 seconds).
I think it shouldn't be difficult, but I am not able to find it.
Please help me, it's really valuable to me.
Thanks a lot
Nick
- Anonymous5 years ago
Finally I found out the way, even if it was really casually. You need to open web.config file which is located in C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer and there at line 13 in </authentication> parameter there's a timeout set to 60, which is the length of user session in minutes. You need to edit it and then stop and restart the Report Server through Report Server Configuration Manager.
Bye
5 Replies
- FarhanAhmedCommunity Champion
are you signing out from Browser exactly after an hour? or you remain idle for an hour then you are automatically signing out?
Make sure that your system Admin or Machine don't have a policy to refresh unattended session
- AnonymousNot applicable
Thanks FarhanAhmed
After exactly an hour, even if until 5 seconds before I was clicking in the report server, it pushes me out, I am still in the browser but I need to sign in again. It's not something about idle or unattended session, it happens with really "active" sessions too
- FarhanAhmedCommunity Champion
Do you have any company-wide internet policy which is signing you out from the browser? I am not sure if PBI Report Server can sign you out from active connections even unattended sessions can remain for hours/days.
- AnonymousNot applicable
Finally I found out the way, even if it was really casually. You need to open web.config file which is located in C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer and there at line 13 in </authentication> parameter there's a timeout set to 60, which is the length of user session in minutes. You need to edit it and then stop and restart the Report Server through Report Server Configuration Manager.
Bye