Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hy,
i capture image from webcam and stor in server folder bt it didnt shw on image box due to save of cookies, cache memory,

so plz tell me hw to remov cookies cache memory of google chrome in asp.net
Posted
Updated 20-Feb-19 21:55pm

1 solution

browser appilcation does not have much hold over client computer.. (it shouldn't have!!! otherwise we will lose all our valueable data!!!! :))

we can set expiery of the cookies which are created by our website (domain), but we can not remove it. follow the article on MSDN to do this.

http://msdn.microsoft.com/en-us/library/ms178195.aspx[^]

We can set expirey of cache by following code
C#
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));
Response.Cache.SetNoStore();


mark as answer if solves your problem.
 
Share this answer
 
v2
Comments
puneetisonfire89 10-Nov-11 4:58am    
sir bt i need to delete google chrom cache,cookies memory..
thats code u snd me is not remov all this..
and tht u snd me link is inform d static cookies

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