Re: Capture cflocations/redirects

2004-09-03 Thread Jochem van Dieten
Ian Skinner wrote:

 I'm experiencing some kind of redirect/cflocation endless loop.Is there some easy way to trap the iterations of this loop so that I can see what is trying to redirect to where?

Recording proxy or the FireFox LiveHTPHeaders plugin.

Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Capture cflocations/redirects

2004-09-03 Thread S . Isaac Dealey
 I'm experiencing some kind of redirect/cflocation endless
 loop.Is there some easy way to trap the iterations of
 this loop so that I can see what is trying to redirect to
 where?

Create a custom tag to wrap the cflocation tag. Replace all instances
of cflocation with cf_location or whatever the name of your tag
is. Within the tag, add a line to a text file with cffile
action="" to show a log of what's been redirected and to where.
Run your page, check the log.

hth

s. isaac dealey954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477DE=1
http://www.sys-con.com/story/?storyid=45569DE=1
http://www.fusiontap.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Capture cflocations/redirects

2004-09-03 Thread Cornillon, Matthieu (Consultant)
I'm experiencing some kind of redirect/cflocation endless loop.Is there
some easy way to trap the iterations of this loop so that I can see what is
trying to redirect to where?

Ian,

 
I don't know if this applies, but when I have confusing and unplanned
page-to-page routing, I add a dummy URL variable to suspect statements that
do the routing.That allows me to see whether that statement is in fact the
one doing the redirecting, since the page it arrives at will have the
variable in the URL.Since you have a loop, I would both add this dummy
variable and cut the loop somewhere, so that it stops in its tracks.By
trial-and-error, you should be able to test each of the redirects.

 
I'm afraid that it's not the easiest way in the world.Still, it shouldn't
take more than a few minutes to find the problem.

 
HTH,
Matthieu
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Capture cflocations/redirects

2004-09-03 Thread Jochem van Dieten
S.Isaac Dealey wrote:
 I'm experiencing some kind of redirect/cflocation endless
 loop.Is there some easy way to trap the iterations of
 this loop so that I can see what is trying to redirect to
 where?
 
 Create a custom tag to wrap the cflocation tag. Replace all instances
 of cflocation with cf_location or whatever the name of your tag
 is. Within the tag, add a line to a text file with cffile
 action="" to show a log of what's been redirected and to where.
 Run your page, check the log.

There may be an easier way to do that, but please think twice 
before you use it: http://www.spike.org.uk/blog/index.cfm

Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]