Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove request related variables that can be retrieved otherwise if needed. #557
Following variables are no longer added to session:
Those variables being initialized automatically caused increased risk of memory leaks. In sessions that are request specific scripts can still create those variables such as:
$HttpContext = [System.Web.HttpContext]::Current; $request = [System.Web.HttpContext]::Current.Request; $response = [System.Web.HttpContext]::Current.Response; $ClientData = [Sitecore.Context]::ClientData; $ClientPage = [Sitecore.Context]::ClientPage;
Scripts using those automatic variables need to be fixed as part of this task.