Page 1 of 1
Open HTML5 client in same tab
Posted: Tue Apr 26, 2016 3:58 pm
by Brian
Hi everyone,
I followed the instruction here:
http://www.terminalserviceplus.com/docs ... n-same-tab
After entering a username and password, I click the "Logon" button, the page just refreshes. If after entering a username/pass and hit 'enter' on my keyboard, it works and tries to login. Any ideas?
Re: Open HTML5 client in same tab
Posted: Tue Apr 26, 2016 4:06 pm
by Brian
This is on version 9.30.4.26
I found my answer to this by checking a previous server.
My 8.40 version did not have this line:
var success = true;
Here's the 8.40 version
} else if (AccType == "html5") {
var k = forHTML5();
if (p == '') {
p = hostGateway + 'software/html5.html';
if (cpwin != false) {
window.name = " " + k;
location.href = p + '#';
cpwin.close();
cpwin = false;
} else {
window.name = " " + k;
location.href = p + '#';
And the 9.30 version:
} else if (AccType == "html5") {
var k = forHTML5();
if (p == '') {
p = hostGateway + 'software/html5.html';
if (cpwin != false) {
window.name = " " + k;
location.href = p + '#';
cpwin.close();
cpwin = false;
} else {
window.name = " " + k;
location.href = p + '#';
var success = true;
If I remove the var success = true; line, then it works on click as it should.
Is this the correct solution ?
Thanks!!!
Re: Open HTML5 client in same tab
Posted: Thu Apr 28, 2016 9:34 am
by adrien
Hello,
We have tested it again today.
The version described in our Documentation is working fine on our side.
Maybe it was just a refreshing/brower caching issue?
Anyway, the "success" line does not change anything important, so if it is working fine without it, you can continue using it.
Re: Open HTML5 client in same tab
Posted: Mon May 02, 2016 3:02 pm
by Brian
Hi Adrien,
You are correct - I believe this was a chaching issue on my end. I added the var success line back for good measure
Thanks!
Brian