Jump to content

Fine in FF but error in IE


vchris

Recommended Posts

For some reason the page works exactly as it should in Firefox but in IE as soon as I open it, I get a CF error.

Element SOURCE_CODE is undefined in SESSION.
I'm not sure if this has anything to do with it:
<cfif parameterexists(http_referer)>	<cfset framed=compare(right(http_referer,1),"/")></cfif><cfif NOT evaluate("parameterExists(http_referer)") OR http_referer CONTAINS "main" OR http_referer CONTAINS "sources" or not framed>	<!--- If the user came from this page (has selected an ISIC code), set the page source to ISIC --->	<cfif NOT parameterExists(http_referer) OR http_referer CONTAINS "sources" or not framed>

Any idea?

Link to comment
Share on other sites

IE sucks!!This is one of the bigger problems I have with IE. I would LOVE to use cgi.http_referer so much more than I can. IE does share that information in certain circumstances. I think it is the "post" form method and in SSL environments. Oh, also, IE only registers a referring URL if it is actually clicked (thats it, now I remember). Try playing with it to see if you can make it work with a text link - even if it is not the functionality you want - just to prove/disprove the theory. But I think it has to do with a physical click. I've even tried to make javascript "click" the link/button with no success.Hope that helps. If you find a solution, please DO SHARE!!!(beside creating our own software company that can monopolize the industry and distribute our own web browser that uses our own rules which forces developers to buy wigs to cover all the hair they pull out from working around our software):)

Link to comment
Share on other sites

I guess I fixed it... I commented a lot of his code. The guy doesn't know how to program CF but somehow is able to create complicated SQL queries with sub-queries. The guy had the navigation to the page setup so that if you come from a certain page of the site you view a certain thing on the page and if you didn't come from a page on the site, error occurred...I set it up so that it doesn't matter where you come from, all that matters is where you are!!!

Link to comment
Share on other sites

I'm still curious to know if the application you are working off of ever worked across browsers?I recall not being able to get consistent results from that technique.

Link to comment
Share on other sites

Doesn't seem like this guy's technique worked because I've tested his site before any mods were made and I got the same error...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...