how browsers are able to memorize input fields? [c

2019-08-11 11:08发布

Sometimes when you input information, they have autocomplete in input fields. For example sometimes if that input field is just basic information such as Name, Address, etc, you can double click on it, and a previously added field would have suggestions.

How does that work? I'm sure its not going into a mysql database to memorize user inputs. Is it through sessions? cookies? jquery? ajax?

I hope my question is clear enough for someone's answer,

Thanks!

1条回答
Deceive 欺骗
2楼-- · 2019-08-11 11:40

The browser stores it locally using its own method.

For instance, Firefox stores this in its own SQLite database. But other browsers can do it however they like.

The method it does this should have no consequence on web applications as it's internal to the browser. It may be relevant to you, however, if you are developing a web browser or browser extension, perhaps.

查看更多
登录 后发表回答