SidFishes
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/
code to delete does not
<CFLOCATION url="index.cfm/fuseaction/
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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?
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.
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().getRespon se().sendR edirect('y ourpage.cf m')>
<cfset getpagecontext().getRespon
ASKER
that one gives me
Server Error
The server encountered an internal error and was unable to complete your request.
JRun closed connection.
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)
well it was worth a try :o)
ASKER
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...sle ep and start in the morning...
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...sle
Yep exactly what I initially mentioned - a redirect causing a redirect loop....
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.
The above error is often a redirect loop occurring.
I know this is not a definite answer, but maybe some relevant comments (hopefully....)