Turn off autocomplete for entire site

I've seen references how to turn off auto complete for Forms and Inputs. Is it possible to do for an entire website?
LVL 2
sutoriusAsked:
Who is Participating?
 
David H.H.LeeConnect With a Mentor Commented:
sutorius ,
I don't think it can be done unless you write your own custom base class that inherits System.Web.UI.Page(apply to all web.UI) and turn off form's autocomplete feature.
0
 
David H.H.LeeCommented:
sutorius,

You can turn it off at Form's autocomplete event.
eg:
<form method=post autocomplete="off" id="frm" runat="server">
0
 
David H.H.LeeCommented:
sutorius,

>>.. Is it possible to do for an entire website?
-Once you put all the controls under <Form>, that should did the trick.
0
 
sutoriusAuthor Commented:
But you couldn't do something at like the global.asax level or web.config level?
0
 
sutoriusAuthor Commented:
Cool. Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.