Link to home
Start Free TrialLog in
Avatar of SidFishes
SidFishesFlag for Canada

asked on

Firefox/Netscape CFlocation Problem - Redirection Limit for this url exceeded


ran into a problem today...switched to firefox 1 to do my development and seem to be running into issues with cflocation...or fusebox or...???

Error Message

"Redirection Limit for this url exceeded. Unable to load page. This may be due to cookies that are blocked."

cookies are NOT blocked


code to add products to a saved cart works
<CFLOCATION url="index.cfm/fuseaction/shop.goshop/prodCatID/#form.Prodcatid#/menu/GoShop.html" addtoken="No">

code to delete does not
<CFLOCATION url="index.cfm/fuseaction/shop.goshop/prodCatID/#url.Prodcatid#/menu/GoShop.html" addtoken="NO">

same cflocation...one works one doesn't

I'm baffled..works fine in IE and Opera...errors in Firefox and Netscape 7.1

any ideas???

(btw..tried addtoken="yes" same result
Avatar of mrichmon
mrichmon

Really sounds like a cookie problem.  (I know you said cookies aren't blocked and it works in IE, but bear with my comments)

THis can occur even if cookies are not blocked, but when the cookie that is being looked for is invaid.

Often this will appear in IE as a simple timeout whereas Firefox will give the redirection limit exceeded error.

For example, does the index.cfm/fuseaction/shop.goshop/prodCatID/#url.Prodcatid#/menu/GoShop.htm page look for a cookie or session variable and if one is missing then does a redirect?

The above error is often a redirect loop occurring.

I know this is not a definite answer, but maybe some relevant comments (hopefully....)
ASKER CERTIFIED SOLUTION
Avatar of INSDivision6
INSDivision6

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pinaldave
Well I guess above mentioned comments may be correct.
if error is what insdivision6 is saying : It is certainly loop. IE and Opera does not point out that they are errors but Mozilla says.
Regards,
---Pinal
Is it just the above cflocations that you are having issues with or do none of the cflocation tags work in that browser?
Avatar of SidFishes

ASKER

as i mentioned in the q...the first cfloc works fine...the second doesn't ...consistently...and they are exactly the same url

I'm not setting any cookies at all...so only cookies that cf sets are in use..

there isn't a loop...no cfloc on the return page...it's just a post page...

bugzilla has a post about this issue...which was supposed to be resolved...but maybe not?

I'm going to try the javascript cfloc replacement and see what happens...i'll post back...

additional input appreciated.

How about this cflocation replacement which I found worked once when regular cflocation did not :

 <cfset getpagecontext().getResponse().sendRedirect('yourpage.cfm')>
that one gives me

Server Error
The server encountered an internal error and was unable to complete your request.

JRun closed connection.
I have only used the above once and it worked when cflocation would not, but hte symptoms were different.

well it was worth a try :o)
thanks for everyones help...have figured the problem...

it was in fact a loop...the application.cfm code was looking for https://secure.blah.com/shop and redirects if you are trying to shop from  http://www.blah.com or  https://www.blah.com

since i was dev-ing on a local machine...there's no secure domain...so loop-dee-loop...

works fine on the live site (not operational yet...)

somedays a person should just....stop...drink...sleep and start in the morning...

Yep exactly what I initially mentioned - a redirect causing a redirect loop....