Need help: Any one who are expert on IE7
-
Do you mean write script that closes the browser ?
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Do you mean write script that closes the browser ?
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
thanks for the reply, any sample code that i can use in asp.net code behind vb.net, just to close the browser because my problem is that IE7 has the capability of multi tab on one browser when if i login on one page and logoff that page then use the URL to navigate that page again, im already login to that page again without passing thru the login page
-
thanks for the reply, any sample code that i can use in asp.net code behind vb.net, just to close the browser because my problem is that IE7 has the capability of multi tab on one browser when if i login on one page and logoff that page then use the URL to navigate that page again, im already login to that page again without passing thru the login page
There is no level on which VB.NET can close the browser. The code you want, if it exists, will be javascript, all VB.NET can do, is to emit the code into your page.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
There is no level on which VB.NET can close the browser. The code you want, if it exists, will be javascript, all VB.NET can do, is to emit the code into your page.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
vanhawk wrote:
is there any javascript that can close the browser of IE7?
IE7 prevents all scripts from closing the browser. Once the window is opened by the script, then it can be closed. But I don't think that you can close a window that is not opened by the script. This was a security hole in IE6 and it's fixed in IE7.
-
vanhawk wrote:
is there any javascript that can close the browser of IE7?
IE7 prevents all scripts from closing the browser. Once the window is opened by the script, then it can be closed. But I don't think that you can close a window that is not opened by the script. This was a security hole in IE6 and it's fixed in IE7.
N a v a n e e t h wrote:
IE7 prevents all scripts from closing the browser.
Even
window.close();
after user prompt, closes only the particular tab.Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
thanks for the reply, any sample code that i can use in asp.net code behind vb.net, just to close the browser because my problem is that IE7 has the capability of multi tab on one browser when if i login on one page and logoff that page then use the URL to navigate that page again, im already login to that page again without passing thru the login page
The bug then is in your authentication code - logging off should actually log you off, not just navigate away from the page. You can use cache control headers to suggest to the browser that it should send a request to the server for pages that require authentication, thus placing your app back in control of whether or not to comply with the user's request. And obviously, you need to ask the browser to clear out any cookies or other client-side authentication information when the user logs off.
every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?