- Skill level:
Other People Are Reading
Things you need
- ASP.net language program
Open your chosen ASP.net language program and set the program up to create a new script.
Begin the new script by entering in the following computer language code:
protected void logout()
This code tells the computer to initiate this code anytime the Web browser is closed.
Create the following code immediately under the code listed in Step 2:
Type directly under the code provided in Step 3 the following language:
response.write (var backlen= history.length;);
response.write (window.location.href=' +nextpage+ ';);
Enter the code below to conclude the programming of your automatic history-clearing program:
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for