Click here to Skip to main content
15,171,303 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am giving some text in a page then its going to another page. after that when i back to that page in browser still the previous data are showing ....plz i want to clear those data. plz give me solution..............
monsterchub 1-Jul-14 4:50am
why do you want to clear it? is it some king of login page?
InteGen Chinmaya 1-Jul-14 4:59am
i need ans how to clear ...plz help me
Yogesh Kumar Tyagi 1-Jul-14 4:50am
Hey please tell us first clear your Technology that used for create page.
InteGen Chinmaya 1-Jul-14 4:54am
C# 3.5
InteGen Chinmaya 1-Jul-14 4:54am
InteGen Chinmaya 1-Jul-14 4:54am
its a registration page. i want to clear all browser history after clicking that

if your data in a control than simply you clear it like
InteGen Chinmaya 1-Jul-14 5:06am
yes but it will clear the textbox value but i want to clear browser information....
<head  runat="server">
        function clearForm() {
            document.getElementById('<%=TextBox1.ClientID%>').value = "";
<body onload="clearForm()">
    <form id="form1"  runat="server">
            <asp:TextBox ID="TextBox1" runat="server" >
            </asp:TextBox><asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
Refer - Browser back button issue after logout[^].

You need to delete browser cache.

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