Skip to content

Commit 40d2c59

Browse files
Limit BringSessionStateToLife to .NET Framework.
1 parent b96630a commit 40d2c59

File tree

1 file changed

+2
-0
lines changed
  • dotnet/src/dotnetframework/GxClasses/Middleware

1 file changed

+2
-0
lines changed

dotnet/src/dotnetframework/GxClasses/Middleware/GXHttp.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,11 +1997,13 @@ private void SetStreaming()
19971997
}
19981998
#endif
19991999
}
2000+
#if !NETCORE
20002001
private void BringSessionStateToLife()
20012002
{
20022003
string sessionId = context.HttpContext.Session.SessionID;
20032004
GXLogging.Debug(log, "Session is alive: " + sessionId);
20042005
}
2006+
#endif
20052007
internal string DumpHeaders(HttpContext httpContext)
20062008
{
20072009
StringBuilder str = new StringBuilder();

0 commit comments

Comments
 (0)