O
Oriane
Hi there,
In order to open a web site in a windows form, I use this little hta file :
<HTML>
<HEAD>
<TITLE>Stibil</TITLE>
<HTA:APPLICATION ID="Stibil" / >
<SCRIPT TYPE="text/Javascript">
window.moveTo(20,20);
</SCRIPT>
</HEAD>
<BODY>
<IFRAME SRC="http://stibil.fr/default.aspx" APPLICATION="No"
STYLE="width:100%;height:100%;"></IFRAME>
</BODY>
</HTML>
http://stibil.fr is my Asp.net web application, with a "forms"
authentication. So I get the login form page, and I enter my password and
login name, and then I should see the default.aspx page. But I have again
the login page inside the HTA window.
When I open directly http://stibil.fr/default.aspx, I've got no problem.
To bypass this problem, I have set http://stibil.fr as a trusted site in
Internet Explorer, and now it's ok. But I'm not satisfied with that solution
since I can't ask all my intranet clients to do that. And moreover, I can't
see why my default.aspx page could cause a security risk form my computer.
Any hint ?
Best regards
In order to open a web site in a windows form, I use this little hta file :
<HTML>
<HEAD>
<TITLE>Stibil</TITLE>
<HTA:APPLICATION ID="Stibil" / >
<SCRIPT TYPE="text/Javascript">
window.moveTo(20,20);
</SCRIPT>
</HEAD>
<BODY>
<IFRAME SRC="http://stibil.fr/default.aspx" APPLICATION="No"
STYLE="width:100%;height:100%;"></IFRAME>
</BODY>
</HTML>
http://stibil.fr is my Asp.net web application, with a "forms"
authentication. So I get the login form page, and I enter my password and
login name, and then I should see the default.aspx page. But I have again
the login page inside the HTA window.
When I open directly http://stibil.fr/default.aspx, I've got no problem.
To bypass this problem, I have set http://stibil.fr as a trusted site in
Internet Explorer, and now it's ok. But I'm not satisfied with that solution
since I can't ask all my intranet clients to do that. And moreover, I can't
see why my default.aspx page could cause a security risk form my computer.
Any hint ?
Best regards