Jump to content
Sign in to follow this  
vchris

Fine in FF but error in IE

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?

Share this post


Link to post
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):)

Share this post


Link to post
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!!!

Share this post


Link to post
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.

Share this post


Link to post
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...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...