PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Terminal Server Clients
Prevent navigating out of ActiveX RDP Client
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Terminal Server Clients
Prevent navigating out of ActiveX RDP Client
![]() |
Prevent navigating out of ActiveX RDP Client |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi all,
I am using the ActiveX RDP component on one of our websites, to deliver desktops to remote users. Our users are merrily working away within the TS session, and within that they'll be working in Sage or our bespoke application. Now, they have a tendency to click one of their favourites or just close Internet Explorer without thinking about it. This then leaves the TS session in a 'disconnected' state. I want to be able to pop up a 'Are you sure you want to navigate away from this page?' box, to shock them into saying 'No' and then doing things the proper way. I'm absolutely crap at html/asp/php/any programming, but I was given this snippet to put into my code: <SCRIPT> function closeIt() { event.returnValue = "blah blah blah blah"; } </SCRIPT> </HEAD> <BODY onbeforeunload="closeIt()"> </BODY> </HTML> Under the guidance of our web-programming guru, I put the lines in what I thought were the correct places, but then my 'Connect' button doesn't work. I get the yellow warning message in the bottom left-hand corner of IE, with the 'Object doesn't support this property or method' error. I could really do with some way of urging the end-user not to navigate away from the page without logging out of the session. Any help appreciated Dan |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

