Hitachi Vantara Pentaho Community Forums
Results 1 to 1 of 1

Thread: Setting up session values

  1. #1

    Default Setting up session values

    Hello,

    i am trying to write a XAction which by accessing the HttpSession sets some session attributes. I found that this is possible here:
    https://www.on-reporting.com/blog/en...w-to-use-them/

    where Thomas Morgner says:

    Setting up session values
    You can define the values for the session-keys of the report-environment inside the BI-Server with the help of a on-logon-XAction. Within that XAction, use a JavaScript-Rule to access the HttpSession object and to store the string-value on it.
    The problem I am facing here is how to access the HttpSession from JavaScript? This is breaking my mind... this javascript is running on the server, not on client side, right? so maybe it could be possible, but how? Any line code as example?

    I've been digging in this forum but I am unable to find any information source beyond Morgner statements. Maybe some book i don't know talks about this?

    Regards.

    Pd. I am using Pentaho BI Server 4.8
    Last edited by _alatriste_; 02-25-2014 at 06:14 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.