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

  • 無回覆
  • 1 有這個問題
  • 5 次檢視
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

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題