Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...


Bloc de code
languagejs
onsubmit="ignore_on_history_back()"

et dans la page :

Bloc de code
languagejs
function ignore_on_history_back() {   
  // on back, do not autolog nor prompt, go back to the app
 app    try { window.history.replaceState({}, null, location.href.replace('/cas/login', '/cas/authentification-en-cours.html')) } catch (e) {}
}


  • créer une page statique

    Bloc de code
    languagexml
    titleauthentification-en-cours.html
    <script>
     var isForward = (history.state || {}).isForward;
     try {
       history.replaceState({ isForward: !isForward }, null, null);
     } catch (e) {}
     history.go(isForward ? 1 : -1);
    </script>
    Page temporaire d'authentification. Nous vous redirigeons vers la page précédente... 

    (cf https://cas.univ-paris1.fr/cas/authentification-en-cours.html)

...