-
Clear page if Back/Forward buttons of Browser used
hi
I have a simple ASP application
In page 1 I retreive some information in 3 textboxes
I submit this information to page 2 using a form.
In page 2 I display information in 2 text boxes from the database based on
information in page 1
The problem is when the user uses the Back and Forward buttons of the Browser
he is able to view the information that was entered earlier. How do we prevent
this.
Thanks in advance
KAJ
-
Re: Clear page if Back/Forward buttons of Browser used
Hi
Add following code to the body tag of page1
<Body onLoad="document.forms[0].reset();">
HTH,
Anurag
"KAJ" <koshy@truckracers.com> wrote:
>
>hi
>
>I have a simple ASP application
>
>In page 1 I retreive some information in 3 textboxes
>I submit this information to page 2 using a form.
>
>In page 2 I display information in 2 text boxes from the database based
on
>information in page 1
>
>The problem is when the user uses the Back and Forward buttons of the Browser
>he is able to view the information that was entered earlier. How do we prevent
>this.
>
>Thanks in advance
>KAJ
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks