login about faq

greetings to everyone on this forum.. and of course warm wish for HAPPY NEW YEAR ..

I am working on a project where i need to list all redirected urls..

so, i use this example in my project : http://example-code.com/vb/http_traceRedirects.asp

but the problem is it working on some site/url but not on others

for example: it works on this url: http://www.anrdoezrs.net/click-3852885-10395161?sid=*SUBID*

but not on this url: http://www.affiliateregion.com/link.php?cid=3607&affl_id=10002&subid=

i have tried 2nd url/link on IE and Firefox browser and both browser shows that url redirect to few different urls..

so, it would be great if you kindly help me out where is the issue!

thanks in advance..

best regards

asked Dec 30 '12 at 23:41

mAlam's gravatar image

mAlam
991215


any help please? i am stuck here :(

link

answered Jan 01 '13 at 13:10

mAlam's gravatar image

mAlam
991215

Set the SessionLogFilename property to the name of a log file that is to be created by the component. Then re-run with the troublesome URL and examine the session log to see the exact requests and responses. The example you referenced only checks for 302 redirects. Check to see if responses having other status codes are received. It's also possible that a META Refresh could be hidden within the returned HTML itself (where the HTTP response status code is 200) and this causes a browser to "redirect" to the URL indicated by the META Refresh URL.

link

answered Jan 03 '13 at 10:03

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×186
×96
×1

Asked: Dec 30 '12 at 23:41

Seen: 2,241 times

Last updated: Jan 03 '13 at 10:03

powered by OSQA