StuartPidd
03-21-2005, 08:29 PM
Hello,
Here's the background:
I have one application written in Powerbuilder from which I must instantiate a web app and pass it information. I accomplished this by creating an html document from within the PB app and writing lines of Jscript to it. I then open the document from within the PB app using IE6. It submits the user name and password as a form and opens the page I need.
The problem:
I need to destroy the html doc after the page opens, as it contains sensitive info (username/pw). I can delete it from the client/server side (PB app), but a lost connection, time-out or lag could cause the file to be left out there for unsavory types to aquire. I have tried to find a way to delete the file using Jscript, but thusfar have only found methods to delete files that were just created in script. The file in question will already exist, having been created by the PB app. has anyone come across a similar problem? Is there a way to make the html doc self-destruct or clear?
Thanks
Stu
Here's the background:
I have one application written in Powerbuilder from which I must instantiate a web app and pass it information. I accomplished this by creating an html document from within the PB app and writing lines of Jscript to it. I then open the document from within the PB app using IE6. It submits the user name and password as a form and opens the page I need.
The problem:
I need to destroy the html doc after the page opens, as it contains sensitive info (username/pw). I can delete it from the client/server side (PB app), but a lost connection, time-out or lag could cause the file to be left out there for unsavory types to aquire. I have tried to find a way to delete the file using Jscript, but thusfar have only found methods to delete files that were just created in script. The file in question will already exist, having been created by the PB app. has anyone come across a similar problem? Is there a way to make the html doc self-destruct or clear?
Thanks
Stu