• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to disable autocomplete for password

 
zheng li
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if here is the right place to ask this question.
if it is not, i apologize.

I know how to disable it by using javascript or tools->internet options.
the question is
if i deploy my application on local computer(window 2K), password can be remembered, and whenever i input username, password textbox will be filled automatically.
but when i deploy it on company's server(solaris), password can never be remembered.

is there any configuration about remembering password or not in tomcat or apache?
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11887
202
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most browsers will not allow autocomplete for https sessions, so one option is to have http for your development box, and https for your production servers.

Another option is to specify autocomplete="off" in the input field for the password - this is a non-standard extension that seems to be accepted by IE and Mozilla browsers.
 
zheng li
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, my quesion was not clear enough.

i deployed the same application which has a login page on the server and my local computer.
if i access http://localhost:8080/app/login.jsp, when i input username, password will be auto completed which means browser remembers the password.
but if i access
http://server/app/login.jsp, browser don't remember password.
both server and local are http.

there is only tomcat on my local computer, but on the server, there are apache and tomcat.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like different browser settings for different internet/intranet regions.

Remembering password has nothing to do with the server, it is all the work of the browser.

Eric
 
Eric Pascarello
author
Rancher
Posts: 15385
6
 
zheng li
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
different browser settings for different internet/intranet regions?

how to do it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic