Click here to Skip to main content
15,892,839 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to delete a cachie,cookie and hiddenfield on button clickEvent in asp.net using C#??
Posted

This question makes no sense. You should try to post some code and explain your exact need. which means writing some code, not just copying and pasting our answers to create your project.

There's a cookies collection, you can add to it and delete from it, in your code behind. A hidden field is a control. If you set it to be Visible = false, it will not be rendered. I have no idea what a cachie is, but the browser cache is on the client side, you can emit code to try to clear it, but you can't clear it in C#.
 
Share this answer
 
Use this under button click event-
to delete cache,cookie,hiddenfield[#solution 1]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900