I'm using an xaction to inject some attributes in the http session to be able to retrieve them later in my reports.
I would like to understand the difference between PentahoHttpSession and UserSession whendeclaring the xaction.
I know that PentahoHttpSession is used to call my xaction When a user logs in(I'm using this case to inject some attributes in the http session)

For UserSession,the documentations says it is used for scheduled reports, but I didn't find a use case example for this, if i have a report scheduled in the background , so how to inject specific data to a client and is there any clear use case for this trigger.