Forum Discussion

rolf's avatar
rolf
Icon for Cirrus rankCirrus
Jul 19, 2019

APM full Webtop - insert Backend Request HTTP Header (session.logon.last.username)

Hi,

 

I'm struggling with an issue at a customer. For authentication to a backend service we need to add a HTTP header to the backend request X-ApplUsername.

I would like to insert session.logon.last.username value.

 

I created a 'per request policy' and used the HTTP Header Modify function.

Using webtrace it seams, that just the frontend request has the X-ApplUsername header - the backend request doesn't.

 

I'm using v14.1.0.2

Any ideas or suggestions?

 

Thanks a lot,

Rolf

  • Hi Rolf,

     

    I've tested it this way and it seems to work.

     

    The Per-Request Policy:

     

    And here the phpinfo() from the backend server:

     

    Kind regards,

     

    --Niels