Section 'pxSessionTimer' execution error on page 'pyTmpDisplayHarness' of class 'Data-Portal'.

Hi:

To display a session timeout pop up dialog, I added pxSessionTimer.

  1. Create a section AdvisorWrapper which is referenced in Harness pyCaseWorker of type Data-Portal.
  2. In section AdvisorWrapper added an embedded section pxSessionTimer.
  3. Launch Portal → Case Worker
  4. Multiple errors are generated in the logs:
    Section ‘pxSessionTimer’ execution error on page ‘pyTmpDisplayHarness’ of class ‘Data-Portal’.
    Problem appending stream null

To solve this issue, I did some Google search, it saying pxSessionTimer should be added to portal header instead of portal main content.
Then I created a section pyPortalHeader and embedded pxSessionTimer in pyPortalHeader.
Reference pyPortalHeader in AdvisorWrapper.
The error is still in the log.

I attach the screenshots in the document.

Could someone please help me on this issue?

Thanks a lot!

Ying

Screenshot and Issue.docx (482 KB)

I have created a SR for this issue.

Hi @yingq689,

I have removed your solution from your reply. Could you share your Support Case ticket # with us so that we may track this for you and then we can update this thread with the resolution and mark that reply as the solution?

Thank you!

@MarissaRogers Hi, the SR number is

INC-183376



Thank you @yingq689!

I have also updated the Support Case with the link to this thread so that the Support Engineer is aware of this Question.

@MarissaRogers Thanks!

While reviewing the associated Support Case, the resolution was found as follows:

Ideally it is recommended to add pxSessionTimer to the portal header (pxSessionTimer error in log file | Pega). Since this is only happening in case we use head less portal and has no functionality impact, suggested client to use defer load on the concerned section that embeds the pxSessionTimer.

If you have the same or similar question and the above does not solve this for you, please Ask a Question.