17
Views
3
Comments
What does "setting session as InPRoc" mean with regards to session variables?
Discussion

Please view the "Use Session Variables wisely" section of the Performance Best Practices - Logic documentation page for OS11.

The statement is in the remarks section:

"If you have a sessionless service then removing the session altogether (setting session as InPRoc) is a good way of increasing the performance."


I am not finding what this concept references on the platform concerning session variables.

Is this a typo/error in the documentation or a concept on which I am not finding information?

2024-03-22 09-17-23
Chandra Vikas Sharma

Hi Ouen,

it is related to session object storage.  InProc Session State Mode stores session data in a memory object in the application worker process (aspnet_wp.exe) in the application domain. It is usually the fastest, but more session data means more memory is used on the web server, and that can affect performance. 

Thanks

CV

2023-04-26 06-12-36
Ouen Worth

That would mean the setting referred to in the documentation can only be managed directly on IIS for a specific application pool, and it would need to be done on all front-end servers for the change to be effective for an application.

This would only apply to traditional web applications running on an on-premise installation.

Thanks, CV. I will request that the documentation be updated to clarify this.

https://success.outsystems.com/documentation/11/reference/outsystems_language/data/handling_data/session_variable/

https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/aspnet/development/session-data-lost-inproc-mode

https://learn.microsoft.com/en-us/previous-versions/aspnet/ms178586(v=vs.100)


2023-04-26 06-12-36
Ouen Worth
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.