I have created a Razor view in my asp.net MVC 3 application. It is a page where I fill Payment info. After I signout, I try to purchase another product. When I click any one the textboxes, I get dropdown showing what I filld earlier. How can I clear the cache for this page ? This happens in chrome only.
-
This is not a programming question; this is a question about Chrome's cache. I think you'll find that this will happen on any website unless you change Chrome's settings.George Stocker– George Stocker2011-11-02 16:05:34 +00:00Commented Nov 2, 2011 at 16:05
-
@GeorgeStocker It is a programming question, but "cache" doesn't really describe the problem, nor is it browser specific.Yuriy Faktorovich– Yuriy Faktorovich2011-11-02 16:10:02 +00:00Commented Nov 2, 2011 at 16:10
Add a comment
|
1 Answer
When you declare your textboxes, you need to add autocomplete="off" to your attribute collection, it will work for most browsers. See here for more information.