Re: Can IIS tell browser to redirect and replace in navigation history?
From: Vince C. (none_at_hotmail.com)
Date: 03/09/04
- Next message: Vince C.: "Re: Phone number lookups..."
- Previous message: Dave Navarro: "Re: Upload.asp problem"
- In reply to: Steven Cheng[MSFT]: "Re: Can IIS tell browser to redirect and replace in navigation history?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Mar 2004 20:44:19 +0100
"Steven Cheng[MSFT]" <v-schang@online.microsoft.com> a écrit dans le message
de news:pFx1DwZBEHA.2804@cpmsftngxa06.phx.gbl...
> Hi Vince,
>
> I think Aaron's suggestion is correct one. The navigate2() function of the
> browser control is called by the browser instance, so as for ASP page, it
> should be implement via clientside script as Aaron has mentioned. Also,
> after further searching in the MSDN, I did not found a certain iis header
> which can mapping to the replace function via the script code. If you do
> need to implement this in a certain group of pages, I think you may need
to
> include a certain script block( as a common include?) in all the pages.
[...]
Yes, I agree. However I don't like much splitting logic that way. It's how
I'll do that though :-). I'd have preferred keeping all my business
processing on the server side (i.e. exception handling as well as normal
processing). In fact the page should be replaced in the history only when
there's an error.
Server-side include seems the best approach to me: reusability, maintenance
and versioning. I'll probably turn it into a script component (which I like
really much), just like .NET components do mix server- and client-side logic
for business objects.
Thanks for your suggestions,
Vince C.
- Next message: Vince C.: "Re: Phone number lookups..."
- Previous message: Dave Navarro: "Re: Upload.asp problem"
- In reply to: Steven Cheng[MSFT]: "Re: Can IIS tell browser to redirect and replace in navigation history?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|