Yeti: Logout vor dem Schließen des Browsers erzwingen

Beitrag lesen

Hi,

'onbeforeunload' gibt es durchaus.

Ja, weiß ich. Das feuert aber leider auch beim Navigieren innerhalb der Webseite, wenn ich z.B. auf einen Link klicke oder sonstwas.
Microsoft:
"To invoke: Close the current browser window.
Navigate to another location by entering a new address or selecting a Favorite.
Click the Back, Forward, Refresh, or Home button.
Click on an a that refers the browser to another Web page.
Invoke the a click method.
Invoke the document write method.
Invoke the document open method.
Invoke the document close method.
Invoke the window close method.
Invoke the window open method, providing the possible value _self for the window name.
Invoke the window navigate or NavigateAndFind method.
Invoke the location replace method.
Invoke the location reload method.
Specify a new value for the location href property.
Submit a form to the address specified in the action attribute via the input type=submit control, or invoke the form submit method."

Ich würde mich aber gerne auf "Close the current browser window" beschränken.

Der Yeti

--
Habe nun, ach! WInfo, BWL, und Mathe, Und leider auch Info!
Durchaus studiert, mit heißem Bemühn. Da steh' ich nun, ich armer Thor!
Und bin so klug als wie zuvor!
sh:( fo:| ch:? rl:? br:  n4:& ie:( mo:| va:| de:[ zu:) fl:| ss:) ls:< js:|
http://community.de.selfhtml.org/fanprojekte/selfcode.htm
0 57

Logout vor dem Schließen des Browsers erzwingen

Yeti
  • html
  1. 0
    Cheatah
    1. 0
      Yeti
      1. 0
        David Tibbe
        1. 0
          Yeti
      2. 0
        Viennamade
        1. 0
          Yeti
          1. 0
            Cheatah
            1. 0
              Yeti
              1. 0
                Axel Richter
                1. 0
                  Yeti
                  1. 0
                    Sven Rautenberg
                    1. 0
                      Yeti
                      1. 0
                        Ludger Keitlinghaus
                        1. 0
                          Yeti
                          1. 0
                            Ludger Keitlinghaus
            2. 0
              Ludger Keitlinghaus
              1. 0
                Der Martin
                1. 0
                  Ludger Keitlinghaus
                  1. 0
                    Yeti
      3. 0
        Cheatah
        1. 0
          Yeti
          1. 0
            Cheatah
            1. 0
              Yeti
              1. 0
                at
                1. 0
                  Der Martin
                  1. 0
                    Ludger Keitlinghaus
          2. 0
            Jan L.
            1. 0
              Yeti
          3. 0
            Axel Richter
            1. 0
              Yeti
              1. 0
                Andre
                1. 0
                  Yeti
              2. 0
                Sven Rautenberg
                1. 0
                  Yeti
          4. 0
            MudGuard
            1. 0
              Yeti
  2. 0
    Norbert Kölln
    1. 0
      Yeti
      1. 0
        Cheatah
        1. 0
          Yeti
          1. 0
            Andreas-Lindig
            1. 0
              Yeti
              1. 0
                Andreas-Lindig
                1. 0
                  Yeti
                  1. 0
                    Sven Rautenberg
                    1. 0
                      Yeti
                      1. 0
                        Sven Rautenberg
                        1. 0
                          Yeti
                      2. 0
                        Detlef G.
                        1. 0
                          Yeti
                          1. 0
                            Detlef G.
  3. 0
    Detlef G.
    1. 0
      Yeti
      1. 0
        Detlef G.
        1. 0
          Der Martin
        2. 0
          Yeti