Forum Discussion
Reading "remote desktop resource session variables" from hosted content file (HTML)
Hello all, I am trying to read the variables of the current session (in this case I need the username and password) when I access to a file of the "hosted content", a HTML I have already generated using an iApp. I know there exist 'session.logon.last.username' and 'session.logon.last.password' (f.e. when configuring a remote desktop access). The intention is to add a reference to these variables from within the HTML code (maybe there is an API for javascript or similar) in order to dynamically load the values (in this case, I want to send this values to an applet that is launched from the HTML when this is accessed from the portal access). Thanks in advance for your help
2 Replies
- Kevin_Stewart
Employee
Can you give us a little more details about where the data is coming from and where it needs to go?
- estradjs_130284
Nimbostratus
Kevin, thank you for response. What I currently do is generate a HTML file and move it to the hosted content (also a configuration file, XML), using an iApp. This HTML file is supossed to run an applet (the code for this applet is already in the HTML when it is created). The applet needs to take authtentication parameters (username and password). The other parameters are stored in the XML file, but I need to add the username and password afterwards, using the credentials of the current user. The user has accessed to the HTML file across the portal access (I have created a new portal access element using the HTML file from the hosted content). Here I need to read somehow the session variables to pass them to the applet when it is about to be launched (that's why I think that maybe javaScript could be a posibility). I don't know if is there a way to read a variable "inside the F5" directly from this HTML file (that actually is stored in the hosted content, therefore inside the APM). I hope it is clearer now, any help would be really appreciated.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com