<cfhttp url="http://www.ikea.com.au"; redirect="no"></cfhttp>

returns status code "302 Moved Temporarily"

or

CFHTTP.responseHeader.status_code returns "302"

if its not a redirect CFHTTP.responseHeader.status_code returns "200"

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew
Scott
Sent: Friday, April 01, 2005 11:05 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: cfhttp


Mark,

I guess that would be logical, but the link to www.ikea.com.au has been
redesigned since this banner went up so the point is that with over 10000
advertisers its manual work to go and test every link works, so I used the
cfhttp to test the website exists.

The problem is that there is a number of these advertisers that have done
this now, and I need a way to do this automatically.


Regards
Andrew Scott
Technical Consultant

NuSphere Pty Ltd
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9686 0485  -  Fax: 03 9699 7976


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Mandel
Sent: Friday, 1 April 2005 11:05 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: cfhttp

Test for http://www.ikea.com/ms/en_AU/ instead?

No?

Mark


On Fri, 1 Apr 2005 10:56:38 +1000, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> Here is a problem that I can't seem to solve.
>
> I have a website that uses advertiser clicks, from banners and I use
> cfhttp to check that the website exists then display the website. The
> problem is that some seem to redirect to another location, and those
> seems to break cfhttp or at least in the method that I am doing it anyway.
>
> Here is the code that fails.
>
> <cfhttp url="#myUrl#" resolveurl="yes" throwonerror="yes"></cfhttp>
>
> I have also tried resolveurl = no and nothing, is there another
> parameter or something else that I am missing.
>
> The variable myUrl is http://www.ikea.com.au/ which if you browse via
> the browser is redirected to http://www.ikea.com/ms/en_AU/
>
> Is there a way around this!
>
> Regards
> Andrew Scott
> Technical Consultant
>
> NuSphere Pty Ltd
> Level 2/33 Bank Street
> South Melbourne, Victoria, 3205
>
> Phone: 03 9686 0485  -  Fax: 03 9699 7976
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
> unsubscribe send a blank email to
> [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>


--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe
send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/




---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to