Click here to Skip to main content
15,878,003 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello to all..

I am making the project in c#..

I have given some links in my project.. when I click on any of the link that link opens in Interenet explorer in new page..

When the link opens the name of that link automatically comes into the "history" of Interenet explorer ..

Now what I want to do is that I don't want that link name in that history...

I think you all understand..

please help me as soon as possible..

Thanks in advance..
Posted

1 solution

Please try this one:
<br />
//This will prevent your page from being cached and store in History<br />
 Response.Cache.SetCacheability(HttpCacheability.NoCache);<br />
            Response.Cache.SetAllowResponseInBrowserHistory(false); <br />


Thanks & Regards,
Imdad
 
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