Project

General

Profile

Feature #3812

additions to SESSION system-handle

Added by Greg Shah over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
version:

Related issues

Related to Runtime Infrastructure - Feature #7675: add missing runtime support for 4GL command line parameters New

History

#1 Updated by Greg Shah over 5 years ago

Attributes

  • CURRENT-REQUEST-INFO
  • LOCAL-VERSION-INFO
  • SERVER-CONNECTION-BOUND-REQUEST
  • ICFPARAMETER
  • CONTEXT-HELP-FILE
  • STARTUP-PARAMETERS is only read and put in a JSON message, this is probably not necessary
  • V6DISPLAY is only accessed to force it to NO, the support in #3756 is enough

#2 Updated by Greg Shah almost 5 years ago

Status update for 4GL testcases development:

Subject: Feature #3812 - additions to SESSION system-handle
Date: 15 May 2019 at 11:10:29

We have made tests in following conditions:

  • On progress environment as-is for attributes:
    • CURRENT-REQUEST-INFO
    • LOCAL-VERSION-INFO
    • SERVER-CONNECTION-BOUND-REQUEST
    • ICFPARAMETER
    • CONTEXT-HELP-FILE
    • STARTUP-PARAMETERS
  • On AppServer running in SESSION-FREE mode for:
    • CURRENT-REQUEST-INFO
      • Returned as CLASS
      • Returned as dataset with 3 temp-tables – with a transformation of object in table fields
  • On AppServer running on STATELESS mode for:
    • SERVER-CONNECTION-BOUND-REQUEST and SERVER-CONNECTION-BOUND
      • Running a procedure SINGLE-RUN
      • Running a procedure in classical way

#3 Updated by Constantin Asofiei over 4 years ago

  • Status changed from New to WIP
  • Assignee set to Constantin Asofiei

CONTEXT-HELP-FILE specifies the path name .hlp file - does FWD know how to load this? Otherwise, I don't see any usage for it.

#4 Updated by Constantin Asofiei over 4 years ago

Some of CURRENT-REQUEST-INFO data is originating from the REQUEST-INFO for the appserver handle on the requester (client side). I'm adding this, but there is some refactoring required in AppServerHelper APIs, to transfer these values with the request.

#5 Updated by Constantin Asofiei about 4 years ago

Following are added:
  • SESSION:CURRENT-REQUEST-INFO and SESSION:CURRENT-RESPONSE-INFO
  • server:REQUEST-INFO and server:RESPONSE-INFO
  • LOCAL-VERSION-INFO
  • SERVER-CONNECTION-BOUND-REQUEST and SERVER-CONNECTION-BOUND
  • SERVER-CONNECTION-CONTEXT
  • CONTEXT-HELP-FILE - just read/write

#6 Updated by Greg Shah about 4 years ago

Conversion + stubs or full support?

#7 Updated by Constantin Asofiei about 4 years ago

Greg Shah wrote:

Conversion + stubs or full support?

Full support, with some restrictions. I'll document them once I have them ready to be committed to 4231b.

#8 Updated by Constantin Asofiei about 4 years ago

  • % Done changed from 0 to 100

The changes are in 4231b rev 11490.

#9 Updated by Greg Shah about 4 years ago

  • Status changed from WIP to Test

#10 Updated by Greg Shah almost 4 years ago

I'll document them once I have them ready to be committed to 4231b.

Can you summarize the status/restrictions?

#11 Updated by Constantin Asofiei almost 4 years ago

Greg, the only issues are:
  • session:current-request-info and current-response-info - documentation states:

When using the Progress Application Server, this attribute is valid on both the client and server sides. However, this is not true for an AppServer. if you access this attribute from an ABL client connected to an AppServer, it returns the Unknown value (?).

but I couldn't find any ways of making these values unknown.
  • session:context-help-file - the value can be written and read, but I've seen in client that it referenced a .hlp - FWD will not be able to load this.

#12 Updated by Greg Shah almost 4 years ago

  • Status changed from Test to Closed

Task branch 4231b has been merged to trunk as revision 11347.

#13 Updated by Greg Shah 9 months ago

  • Related to Feature #7675: add missing runtime support for 4GL command line parameters added

Also available in: Atom PDF