Kukhonjiswa imibuzo ethegiwe: Veza yonke imibuzo

Additional parameters sent to server

Hello, Firefox 76.0.1 is causing me problems... For example if I call a PHP program to log out, I use the JavaScript command: function Logout() { self.location = "Root.p… (funda kabanzi)

Hello,

Firefox 76.0.1 is causing me problems...

For example if I call a PHP program to log out, I use the JavaScript command:

function Logout() {

 self.location = "Root.php?LogOff=Y"

}

No problem there, but when I want to log back in I use:

<form name='detail' method='Post' onsubmit='Root.php'> <input type='text' name='UserId' class='Full' style='border: 0;'> <input type='Password' name='Password' class='Full'>

(The class Full, just sets the width to 100% as this is in a table)

The the JavaScript is simply:

function LogIn() {

 document.detail.submit();

}

Seems simple enough, but the Root.PHP receives:

 LogOff -> Y
 UserId -> <name>
 Password -> <password>

Not what I was expecting!

The only other thing of note is that I have started using local.storage to save information, and this too passes information from previous calls.

Any thoughts?

Thanks, Richard Gamester

Asked by Richard_Gamester 6 amahora adlule