File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
dotnet/src/dotnetframework/GxClasses/Core Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1290,11 +1290,24 @@ public bool IsForward()
12901290 {
12911291 if ( _HttpContext != null )
12921292 {
1293+ #if NETCORE
1294+ object callMethodObj ;
1295+ if ( _HttpContext . Items . TryGetValue ( "gx_webcall_method" , out callMethodObj ) )
1296+ {
1297+
1298+ string callMethod = callMethodObj as string ;
1299+ if ( ! string . IsNullOrEmpty ( callMethod ) && ( string . Compare ( callMethod , "forward" , true ) == 0 ) )
1300+ {
1301+ return true ;
1302+ }
1303+ }
1304+ #else
12931305 string callMethod = ( string ) _HttpContext . Items [ "gx_webcall_method" ] ;
12941306 if ( ( callMethod != null ) && ( string . Compare ( callMethod , "forward" , true ) == 0 ) )
12951307 {
12961308 return true ;
12971309 }
1310+ #endif
12981311 }
12991312 return false ;
13001313 }
You can’t perform that action at this time.
0 commit comments