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?
Open HTML5 client in same tab
Re: Open HTML5 client in same tab
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!!!
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
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.
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.
Adrien
TSplus CTO
TSplus CTO
Re: Open HTML5 client in same tab
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
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