Two Laptop Bag*
The moose likes JSP and the fly likes Preventing password alerts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Preventing password alerts" Watch "Preventing password alerts" New topic

Preventing password alerts

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 166
After logging in most of the sites using fire fox a message will display like this " Do you want to remember the password for "..... (username) " on ...(server) ?.

How can block this message or alerts through client side or server side program ? . A good example for this implementation is gmail. I am using java/jsp for developing my application.

Ove Lindström
Ranch Hand

Joined: Mar 10, 2008
Posts: 326

When you look into that sort of solutions, you often find that what have been done is to put the username and the password fields OUTSIDE of the form itself and then use a script to collect them.

I have this template in my template dictionary:

Originally found at
It is sorta covered in the JavaRanch Style Guide.
subject: Preventing password alerts
Similar Threads
Sequence of steps executed in Ajax call
Error: Cannot properly decrypt username or password or both.
Workaround for browser refresh/back button clicks?
strange problem with plain ajax
How to introduce Time Out feature in web application