Started work on using a local copy of the Login.html page, unfinished
[CGIscriptor.git] / JavaScript / LoginPage.js
blobb42ab521792276fa438b02af9252a67bcdfab64b
1 <SCRIPT TYPE="text/ssperl" SRC="./JavaScript/CGIscriptorSession.js"></SCRIPT>
3 // Remove EVERYTHING from Login window
4 window.onload = function() {
5         if(window.location.search)window.location.search = "";
6         var warning = document.getElementById('WARNING');
7         if(sessionStorage == null) warning.innerHTML = "Storage not supported by the browser: Upgrade your browser or set dom.storage.enabled";
8         else {
9                 warning.style.color = "Black";
10                 warning.innerHTML = "";
11         };
12         clear_persistent_data ();
13         
14         // UNCOMMENT for use in a local version of the Private/Login.html web page.
15         // UNFINISHED WORK
16         // getLoginData();
19 <SCRIPT TYPE="text/ssperl" SRC="./JavaScript/sha.js"></SCRIPT>