Ok, here's the problem:

The site I'm working on presents users with a list of documents.  They select
the link for the document they want, and then the following code is executed.

<cfquery name="checkdocsecurity" datasource="Datasource">
 select count(*) doccount
 from a bunch of tables
 where  a bunch of conditions are true (all varaibles passed in the
url and are urlencoded first)
</cfquery>

<cfif checkdocsecurity.doccount neq 0>
 <!--- security passed --->
 <cfinclude template="securitypassed.cfm">
 <cfinclude template="../cfincludes/footer.cfm">
<cfelse>
 <!--- security failed --->
 <cfset "attributes.ptitle" = "Security Failed">
 <cfinclude template="../cfincludes/header.cfm">
 <div align="center">
  <b>You do not have access to the selected document.<br>
  Click on the link below to return to the document
list.<br><br></b>
  <a href="javascript:history.back()"> Back to Document
List.</a>
 </div>
 <cfinclude template="../cfincludes/footer.cfm">
</cfif>


In IE4, IE5.5, NN4.08,  and NN4.7 --  the particular document in question
allows the user to open the document.
In IE5.0 however, the user gets the security failed message.
I've tested this on win95,98 and NT, all with the same results.

Any idea why this might be???

Erica

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to