Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Need help: Any one who are expert on IE7

Need help: Any one who are expert on IE7

Scheduled Pinned Locked Moved Web Development
helpquestion
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vanhawk
    wrote on last edited by
    #1

    It is possible to close the browse on IE7?

    C 1 Reply Last reply
    0
    • V vanhawk

      It is possible to close the browse on IE7?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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 )

      V 1 Reply Last reply
      0
      • C Christian Graus

        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 )

        V Offline
        V Offline
        vanhawk
        wrote on last edited by
        #3

        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

        C S 2 Replies Last reply
        0
        • V vanhawk

          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

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          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 )

          V 1 Reply Last reply
          0
          • C Christian Graus

            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 )

            V Offline
            V Offline
            vanhawk
            wrote on last edited by
            #5

            thanks for the reply, is there any javascript that can close the browser of IE7?

            N 1 Reply Last reply
            0
            • V vanhawk

              thanks for the reply, is there any javascript that can close the browser of IE7?

              N Offline
              N Offline
              N a v a n e e t h
              wrote on last edited by
              #6

              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.


              My Website | Ask smart questions

              V 1 Reply Last reply
              0
              • N N a v a n e e t h

                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.


                My Website | Ask smart questions

                V Offline
                V Offline
                Vasudevan Deepak Kumar
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                • V vanhawk

                  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

                  S Offline
                  S Offline
                  Shog9 0
                  wrote on last edited by
                  #8

                  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?

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups