Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 30, 2013 04:48 AM by aamirha
Member
2 Points
10 Posts
Jan 28, 2013 12:03 PM|LINK
Hi,
I have a requirement , I have to clear browsers Javascript and css as I start my web application.
This should be done in Javascript Code. or if you have any better solution then pls let me know.
I dont wnat to clear chache because I am saving ID and Password in that.
Any help is highly appreciated.
Thanks,
Vivek
Participant
1089 Points
261 Posts
Jan 28, 2013 12:09 PM|LINK
chk out :: http://stackoverflow.com/questions/8155064/how-to-programmatically-empty-browser-cache
it will empty everything
All-Star
43012 Points
7028 Posts
MVP
Jan 29, 2013 05:30 PM|LINK
Hello,
vmahawar I have to clear browsers Javascript and css as I start my web application.
You can append a Query string for the javascript and CSS files so it will load the new files.
<script src="filename.js?version=1"> </script>
<link rel="stylesheet" type="text/css" href="filename.css?version=1">
Please 'Mark as Answer' if this post helps you.
677 Points
170 Posts
Jan 30, 2013 04:48 AM|LINK
Try these
http://forums.asp.net/t/1132444.aspx/1
http://stackoverflow.com/questions/2190808/how-to-clear-browsers-ie-firefox-opera-chrome-history-using-javascript-or-j
vmahawar
Member
2 Points
10 Posts
Clear Browser's Old JavaScript and CSS
Jan 28, 2013 12:03 PM|LINK
Hi,
I have a requirement , I have to clear browsers Javascript and css as I start my web application.
This should be done in Javascript Code. or if you have any better solution then pls let me know.
I dont wnat to clear chache because I am saving ID and Password in that.
Any help is highly appreciated.
Thanks,
Vivek
arunoyour
Participant
1089 Points
261 Posts
Re: Clear Browser's Old JavaScript and CSS
Jan 28, 2013 12:09 PM|LINK
chk out :: http://stackoverflow.com/questions/8155064/how-to-programmatically-empty-browser-cache
it will empty everything
Visit :: www.simplyasp.blogspot.com
Stay tune...Keep alive
Ruchira
All-Star
43012 Points
7028 Posts
MVP
Re: Clear Browser's Old JavaScript and CSS
Jan 29, 2013 05:30 PM|LINK
Hello,
You can append a Query string for the javascript and CSS files so it will load the new files.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.aamirha
Member
677 Points
170 Posts
Re: Clear Browser's Old JavaScript and CSS
Jan 30, 2013 04:48 AM|LINK
Try these
http://forums.asp.net/t/1132444.aspx/1
http://stackoverflow.com/questions/2190808/how-to-clear-browsers-ie-firefox-opera-chrome-history-using-javascript-or-j
Fill ASP.NETDropdownlist through JSON data using jQuery