xamian
asked on
Safari and CFLOCATION
I have a typical coldfusion app with a bunch of CFCASE statement which I use to render different iterations of the page, execute specific functions etc..etc.. It works fine in IE and firefox. But for some reason safari is rendering the following error message:
"Too many redirects occurred trying to open page. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page."
For some reason it has a problem with my CFLOCATIONs. Anybody knows what the deal might be with this piece of garbage browser?
"Too many redirects occurred trying to open page. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page."
For some reason it has a problem with my CFLOCATIONs. Anybody knows what the deal might be with this piece of garbage browser?
almost always a code problem related to endless loop redirect (as the message says)
I test with Safari and have not seen this as an -issue- ...except when it's -my- error
probably due to some variable not being set which controls your cflocation and not cflocation/safari itself.
I test with Safari and have not seen this as an -issue- ...except when it's -my- error
probably due to some variable not being set which controls your cflocation and not cflocation/safari itself.
Interesting Sid... but Xamian said it works fine in IE and FF ?
But... how many cflocations are we talkin about? Is there a more efficient way to handle what you are doing?
But... how many cflocations are we talkin about? Is there a more efficient way to handle what you are doing?
could -be- an issue with safari (setting variables, cookies etc)...just doubt it's cflocation as I use it all the time with no issue
do you cfflush somewhere
ASKER
Maybe 20 cflocations, you know the typical stuff
if blah cflocation back to form with a few extra url variables kinda like this
<cflocation url="?Trg=3&submission_id= #Form.subm ission_id# &topic_id= #Form.topi c_id#&orig inal_submi ssion_id=# Form.origi nal_submis sion_id#&q uote=#Form .quote#&er =1">
It's only safari that has this problem.
if blah cflocation back to form with a few extra url variables kinda like this
<cflocation url="?Trg=3&submission_id=
It's only safari that has this problem.
<cflocation url="?Trg=3&submission_id= #
that's not your actual url call is it??
needs to be at least
<cflocation url="somepage.cfm?Trg=3&su bmission_i d=#
if not
<cflocation url="http://www.site.com/somepage.cfm?Trg=3&submission_id=#
that's not your actual url call is it??
needs to be at least
<cflocation url="somepage.cfm?Trg=3&su
if not
<cflocation url="http://www.site.com/somepage.cfm?Trg=3&submission_id=#
ASKER
Yea I usually leave out the page name. Is that a problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sid's right. This happened to me before I remember now. Safari is very unforgiving about URLs in CFLOCATION. At the very least you need a file name, but probably should enter a full url. Once I put the full url Safari stopped whining about too many redirects.
Thanks for the help.
Thanks for the help.
just to confirm.. you are saying addToken="no" on your cflocation tags right?