"Evertjan." <> wrote in message
news:Xns95FED1029AA7Beejj99@194.109.133.29...
: Roland Hall wrote on 15 feb 2005 in
: microsoft.public.inetserver.asp.general:
:
: > "Evertjan." wrote in message
: > news:Xns95FE85A13841Aeejj99@194.109.133.29...
: >: Roland Hall wrote on 15 feb 2005 in
: >: microsoft.public.inetserver.asp.general:
: >:
: >: > <%@ Language=VBScript %>
: >: > <%
: >: > Option Explicit
: >: > Response.Buffer = True
: >: > Response.AddHeader
: >: > "Refresh","5;URL=http://domain.com/someotherpage.asp"
: >: > Response.Write "Redirecting in 5 seconds..." %>
: >: >
: >:
: >: Awesome !! Why didn't I know that?
: >
: > I give up.
: >
:
: I was serious !! I didn't know this as a header.
I know you were and so was I. I have no idea why you didn't know it. I've
never seen it done before either. The only issue here, as I am buffering is
dealing with Response.Flush where AddHeader can actually be anywhere in the
page when buffering but it has to come before a Flush. I call it the toilet
function. You can change your content but once you flush, that's it!
: [and I am seldom serious]
No reason to be serious here. (O:=
:
: I will contemplate about converting my pages that have metas.
After reading the W3C re: META refresh, I never found a difinitive reason
why it should not be used. It said, "some browsers may not be able to use
it". Well, that's clear as mud. Which browsers and is this still relative
or is it just because the client cannot be controlled?
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp