[thelist] cf redirection

Seth Bienek - Web Consultant sbienek at acep.org
Mon Jul 17 11:54:12 CDT 2000


Hi Aaron,

Enter the power of CF (heh..)

You can use <cfHTMLHead> to insert stuff between the <head> and </head>
tags:

<cfHTMLHead text="
 <meta http-equiv = ""Refresh"" Content	= ""90;	URL =
http://mydomain.com/eatmyshorts.cfm"">
">

Note that you have to escape quotes to keep CF from thinking you're closing
the tag (the double "s)

Haven't tried it, but I'm thinking you could use CFHEADER to pass this
directly via the page request header as well..

Again, it's not tested, but maybe something like:

<cfheader name="Refresh" value="90;	URL =
http://mydomain.com/eatmyshorts.cfm">

If that works, let me know. ;)

Happy coding,

Seth 

------------------------------------
Seth Bienek
Independent ColdFusion Developer




> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Czechowski, Aaron
> Sent: Monday, July 17, 2000 11:00 AM
> To: 'thelist at lists.evolt.org'
> Subject: RE: [thelist] cf redirection
> 
> 
> > -----Original Message-----
> > From: Daniel J. Cody [mailto:dcody at oracular.com]
> > 
> > you could use an http-equiv="refresh" - although I'm sure there are
> > other ways, thats not the worst one to use.
> 
> but a http-equiv meta tag has to reside in the header, 
> correct?  the way the
> page is written, it's basically like this:<!--
> 
> <html>
> <head>
>  <title>
> </head>
> <body>
>  <cfswitch>
>   <cfcase1> content for action page 1
>   <cfcase2> content for action page 2
>   <cfcase3> content for action page 3
> </body>
> </html>
> 
> So there is ONE head for all of the cases.  so i'd have to 
> have one meta
> http-equiv tag for all the cases, just like all pages have 
> the same title.
> Right?
> 
> 
> Aaron  :)
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 
> 




More information about the thelist mailing list