RE: History

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 03/17/05


Date: Thu, 17 Mar 2005 08:55:09 GMT

Hi Thom,

Welcome to MSDN newsgroup.
>From your description, you have a certain welcome page which will use
jscript to redirect to an asp.net page which will do some serverside
operations and then generate some result. And you use response.redirect to
redirect back to the former page with the result info appended in the
querystring and finally display the result in the end page. However, you
found the IE browser's history list will contains those redirected pages,
you're wondering how to avoid this, yes?

Generally, the Browser will automactically add such history entry when we
redirect page at clientside. However, we can use the
window.location.replace( url) to avoid this.
The window.location.replace means we replace the current location( the
entry in the browser's history list) with a new url value, thus, the
history list won't add new entry. You can have a try to see whether it
helps.

In addition, I think you can also consider using a hidden <iframe> in your
first page to access that counter page. Then you can use script code to
access elements in the <iframe>'s sub page. This is also a option.

HTH. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



Relevant Pages

  • Re: How to concatenate words
    ... Left fixing the last entry as exercise for you. ... If I want to redirect the output into a file and use it later in the ...
    (comp.unix.shell)
  • Re: WinXP, IIS, strange entry in log file..
    ... > While perusing the IIS log file on my Windows XP Professional system, ... > across the following entry: ... If so they redirect these sites to 127.0.0.1 ...
    (microsoft.public.security)
  • Re: [SLE] How to redired outside http address to local box?
    ... If you don't have access to that server, then you can't redirect it. ... Just add an entry in your /etc/hosts, ... add the appropriate vhost entry in your apache ...
    (SuSE)
  • Re: maneuver (how to spell)
    ... Doesn't its selection of one contender for the name of its entry ... indicate a preference? ... Sure, but that's a redirect. ...
    (alt.usage.english)
  • Re: Website dissappeared ;-(
    ... Avoid the type of redirect used in the second example. ... Internet Marketing Service Ethics Advocate and Search Engine ...
    (alt.internet.search-engines)