Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Additional parameters sent to server

  • Akukho zimpendulo
  • 1 inale nkinga
  • 5 views
more options

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

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.