RE: History
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 03/17/05
- Next message: Joe Fawcett: "Re: Javascript vs. ActiveX"
- Previous message: Agoston Bejo: "Re: postback and navigate question"
- In reply to: Thom Little: "History"
- Next in thread: Thom Little: "Re: History"
- Reply: Thom Little: "Re: History"
- Messages sorted by: [ date ] [ thread ]
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.)
- Next message: Joe Fawcett: "Re: Javascript vs. ActiveX"
- Previous message: Agoston Bejo: "Re: postback and navigate question"
- In reply to: Thom Little: "History"
- Next in thread: Thom Little: "Re: History"
- Reply: Thom Little: "Re: History"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|